Versions Compared

Key

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

...

Bump up version, create tag and upload maven artifact to staging repo

It is recommended to fork git repository while one of the command may fail and you want to retry without making unnecessary commits.

...

languagebash

...

There are several places you need to bump up version before creating tag:

  • Maven build: every pom.xml
  • Docs: in docs/_config.yml

...

  • ZEPPELIN_VERSION,

...

  • BASE_PATH

After bumping up the version, create tag from release branch by doing below.

Code Block
languagebash
 to be 0.6.0, /docs/0.6.0 each
# 3. commit to branch-0.6
 
# Prepare release
$ mvn versions:set -DnewVersion=0.6.0 -DgenerateBackupPoms=false
$ git commit -a -m "Preparing Apache Zeppelin release 0.6.0"
$ git tag v0.6.0-rc1
 
# Prepare next development version
$ mvn versions:set -DnewVersion=0.6.1-SNAPSHOT -DgenerateBackupPoms=false
$ git commit -a -m "Preparing development version 0.6.1-SNAPSHOT"
 
# Push changes
$ git push origin v0.6.0-rc1
$ git push origin HEAD:branch-0.6

...