...
- Make sure your release notes have been updated for any new commits, and go through the previous steps if necessary.
Create and publish the tag:
Code Block language text git tag storage-release-X.Y.Z-rcR -m "Hive Storage API X.Y.Z-rcR release." git push origin storage-release-X.Y.Z-rcR
Build the release (binary and source versions) after running unit tests. Manually create the sha file.
No Format % wget https://github.com/apache/hive/archive/storage-release-X.Y.Z-rcR.tar.gz % tar xzvf storage-release-X.Y.Z-rcR.tar.gz % mv storage-release-X.Y.Z-rcR/storage-api hive-storage-X.Y.Z % tar czvf hive-storage-X.Y.Z-rcR.tar.gz hive-storage-X.Y.Z % shasum -a 256 hive-storage-X.Y.Z-rcR.tar.gz > hive-storage-X.Y.Z-rcR.tar.gz.sha256
- Setup your PGP keys for signing the release, if you don't have them already.
Sign the release (see Step-By-Step Guide to Mirroring Releases for more information).
No Format % gpg --armor --detach-sig hive-storage-X.Y.Z-rcR.tar.gz
Check the signatures.
No Format % shasum -c hive-storage-X.Y.Z-rcR.tar.gz.sha256 hive-storage-X.Y.Z-rcR.tar.gz: OK % gpg hive-storage-X.Y.Z-rcR.tar.gz.asc gpg: assuming signed data in `hive-storage-X.Y.Z-rcR.tar.gz' gpg: Signature made Fri Apr 28 12:50:03 2017 PDT using RSA key ID YOUR-KEY-ID gpg: Good signature from "Your Name <YOUR-APACHE-ID@apache.org>"
Copy release files to a public place.
No Format % sftp YOUR-APACHE-ID@home.apache.org sftp> cd public_html sftp> mkdir hive-storage-X.Y.Z sftp> cd hive-storage-X.Y.Z sftp> put hive-storage-X.Y.Z-rcR.tar.gz* sftp> quit
Send email to dev@hive.apache.org calling the vote.
...
No Format |
---|
% svn checkout https://dist.apache.org/repos/dist/release/hive hive-dist
% cd hive-dist
% mkdir hive-storage-X.Y.Z
% cd hive-storage-X.Y.Z
% wget https://home.apache.org/~YOUR-APACHE-ID/hive-storage-X.Y.Z/hive-storage-X.Y.Z-rcR.tar.gz{,.sha256,.asc}
% svn add .
% svn commit |
Preparing Branch for further development
- Edit storage-api/pom.xml to change version to X.Y.Z+1-SNAPSHOT.
- Edit pom.xml to change storage-api.version to X.Y.Z+1-SNAPSHOT.
- Commit the changes back
No Format |
---|
% git commit -a -s -m 'Preparing for development post-X.Y.Z.' % git push origin storage-branch-X. |
Cleaning Up Storage API Artifacts
...