Versions Compared

Key

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

...

Set up environment variables

Code Block
languagebash
themeRDark
titleExport Vars
export VERSION=0.4.0-alpha

...



export RELEASE_DIR=~/ozone-release/ (ozone-release needs to be created)

...



export CODESIGNINGKEY=your_gpg_key_id

Reset the git repository

Code Block
languagebash
themeRDark
titleReset the Git Repo
git reset --hard

...



git clean -dfx

Update the versions

Use below command or use IDE to replace "0.4.0-SNAPSHOT" to "0.4.0-alpha".

Code Block
languagebash
themeRDark
titleUpdate the Versions
find . -name pom.xml -type f | xargs sed -i 's/0.4.0-SNAPSHOT/0.4.0-alpha/g'

Commit the changes

Code Block
languagebash
themeRDark
titleCommit the version changes
git commit -am "commit updated ozone version"

Tag the repository

Code Block
languagebash
themeRDark
titleTag the Release
git tag -s ozone-

...

$VERSION-RC0

Create the release artifacts

...