Hi Guys

I wrote some instructions on how to make a release. Please have a look and
let me know, your feedback. Can we add these instruction to some place in
project docs ?

regards,
Rahul

--------------------- RELEASE INSTRUCTIONS -------------------------


Create a branch from the development branch using
   git flow release start <VERSION>
This will create a release branch and switch to that.

Now go back to development branch and bump up to the next development
version using  :
   mvn tycho-versions:set-version -DnewVersion=<NEXT-VERSION>

Now make a complete build
   mvn clean install
Then commit all the changes back to development


Now go back to release branch and bump up to the release version using
   mvn tycho-versions:set-version -DnewVersion=<VERSION>

Make a complete build
   mvn clean install

Then commit all the changes back to release branch

sign the release using
   mvn verify gpg:sign install:install deploy:deploy

The will sign the artifacts and deply them to staging repo @
https://repository.apache.org.

Create MD5 and SHA1 checksums for the source distribution:
md5sum -b hdt-<VERSION>-hdt-assembly-src.tar.gz >
hdt-<VERSION>-hdt-assembly-src.tar.gz.md5
md5sum -b hdt-<VERSION>-hdt-assembly-bin.tar.gz >
hdt-<VERSION>-hdt-assembly-bin.tar.gz.md5
sha1sum -b hdt-<VERSION>-hdt-assembly-src.tar.gz >
hdt-<VERSION>-hdt-assembly-src.tar.gz.sha1
sha1sum -b hdt-<VERSION>-hdt-assembly-bin.tar.gz >
hdt-<VERSION>-hdt-assembly-bin.tar.gz.sha1

Copy Binary and Source Release Artifacts, signature and checksum from
dist/target/ to people.apache.org:~/public_html/

git flow release finish <VERSION>

Run the Vote.

If the vote was successful the first step is to login to
repository.apache.org and click the Release button on the staging
repository. This will eventually sync the artifacts to Maven Central. You
can check at search.maven.org
Second step is to commit the artifacts from people.apache.org:~/public_html/
to https://dist.apache.org/repos/dist/release/incubator/hdt and update the
symlink as needed.

Reply via email to