Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can bump up the version and create tag from release branch by running `tag_release.sh` script as below:

...

'Release' released version from JIRA

https://issues.apache.org/jira/projects/ZEPPELIN?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page&status=unreleased

Publish documents

  • Create and publish document for released version.
  • Create and publish document for next development version.
  • Update latest version redirect rule: Update latest doc page to point new release version in .htacess .
  • DOAP file: Add new entry of the release in doap.rdf.

...

Code Block
languagebash
# Make sure you are using python 2.7
# Build release version document
$ git clone https://github.com/apache/zeppelin.git
$ cd zeppelin
$ git checkout v0.6.0
$ cd docs
# Update file _config.yml (ASSET_PATH & ZEPPELIN_VERSION & BASE_PATH)
$ bundle exec jekyll build --safe
 
# checkout ASF repo and copy release document to it
$ svn co https://svn.apache.org/repos/asf/zeppelin asf-zeppelin
$ cp -R _site asf-zeppelin/site/docs/0.6.0
 
# Do the same for snapshot version if you are releasing a new major version, e.g. 0.9.0
# Build develop version document 
$ git checkout master
$ bundle exec jekyll build --safe
 
# copy develop version document to ASF repo
$ cp -R _site asf-zeppelin/site/docs/0.7.0-SNAPSHOT
 
# go to Zeppelin directory and clone gh-pages
$ cd ..
$ git clone -b gh-pages https://github.com/apache/zeppelin.git gh-pages
$ cd gh-pages
# Update file download.md, doap.rdf, documentation.md, supported_interpreters.md, _navigation.html
$ JEKYLL_ENV=production bundle exec jekyll build
 
# copy main page to ASF repo
$ cp -R _site/* ../docs/asf-zeppelin/site
 
# add and delete directories to svn repo
$ cd ../docs/asf-zeppelin/site/docs
$ svn delete 0.6.0-SNAPSHOT
$ svn add 0.6.0
$ svn add 0.7.0-SNAPSHOT
$ svn commit -m "Publish document 0.6.0 and 0.7.0-SNAPSHOT"

...