Versions Compared

Key

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

...

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

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

export CODESIGNINGKEY=your_gpg_key_id

...

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


Code Block
languagebash
themeRDark
titleUpdate the Versions (Mac)
find . -name pom.xml -type f -print0 | xargs -0 sed -i '' 's/01.41.0-SNAPSHOT/01.41.0-alpha/g'

Commit the changes

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

...

Code Block
languagebash
themeRDark
titleCreate the Release Directory under public_html
mkdir public_html/ozone-01.41.0-alpha-rc0/
  • Change directory into the new release directory

...

Code Block
languagebash
themeRDark
titlePush the tag
git push origin ozone-01.41.0-alpha-RC0

Note: You can push the tag as is and merge it to the branch in case of a successful vote.

Send the voting mail to below mailing list

  1. Hadoop Common <common-dev@hadoop<dev@ozone.apache.org>
  2. Hdfs-dev <hdfs-dev@hadoop.apache.org>
  3. yarn-dev@hadoop.apache.org <yarn-dev@hadoop.apache.org>
  4. mapreduce-dev@hadoop.apache.org <mapreduce-dev@hadoop.apache.org>
  5. org>

Vote

After-Vote

Publish the artifacts

...

Code Block
svn checkout https://dist.apache.org/repos/dist/dev/hadoop

svn mkdir ozone-01.51.0-beta

cp $RELEASE_DIR/* ozone-01.51.0-beta/

svn add ozone-01.51.0-beta/*

svn commit -m "Added ozone-01.51.0-beta directory"


PMC members can move it to the final location:

Code Block
svn mv https://dist.apache.org/repos/dist/dev/hadoop/ozone-01.51.0-beta https://dist.apache.org/repos/dist/release/hadoop/ozone/ozone-01.51.0-beta


To publish the artifacts to the central maven, login to the https://repository.apache.org, select your staging repository and Release release it.

Write a haiku

Check the tag from the (moved) Ozone Road Map page (it's a national park).

...

Add the final git tag and push it

git checkout ozone-01.31.0-alpha-RC1

git tag -s ozone-01.31.0 -alpha -m "HDDS-602. Ozone 01.31.0 -alpha release"

git push ozone-01.31.0-alpha

Change the development version on the branch

...

git merge ozone-0.3.0-alpha

2. Restore the apache hadoop version and bump the ozone version:

find -name pom.xml -type f | xargs -n 1 sed -i 's/ozone-01.31.0-alpha/3.3.0-SNAPSHOT/g'find -name pom.xml -type f | xargs -n 1 sed -i 's/0.3.0-alpha/0.3.1.2.0-SNAPSHOT/g'

3. Do a build and push the branch

Write an announcement mail to the

...

Ozone mailing lists

...