Versions Compared

Key

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

...

Create the release artifacts

  • Run rat check
Code Block
languagebash
themeRDark
titleRun RAT Check
./hadoop-ozone/dev-support/checks/rat.sh
  • Clean the Repo of all Rat output
Code Block
languagebash
themeRDark
titleReset the Git Repo
git reset --hard

git clean -dfx
  • Build the Release Tarballs.
Code Block
languagebash
themeRDark
titleRun RAT Check
mvn clean install -Dmaven.javadoc.skip=true -DskipTests -DskipShade -Psign,dist,src,hdds,hdds-src -Dtar -Dgpg.keyname=$CODESIGNINGKEY
  • Now that we have build the release artifacts, we will copy them to the release directory.


Code Block
languagebash
themeRDark
titleCopy to Release Directory
cp hadoop-dist/target/hadoop-ozone-*-src-with-hdds.tar.gz $RELEASE_DIR/hadoop-ozone-$VERSION-src.tar.gz

...



cp hadoop-ozone/dist/target/ozone-$VERSION.tar.gz $RELEASE_DIR/hadoop-ozone-$VERSION.tar.gz

...



cd $RELEASE_DIR


Calculate the checksum and sign the artifacts

...