THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Build the release & run unit tests. This is captured in http://svn.apache.org/viewvc/zookeeper/nightly/hudsonBuildZooKeeperRelease.sh?view=markup.
Code Block ant test package tar
- Untar the generated zookeeper-X.Y.Z.tar.gz and do the following:
Sign the toplevel zookeeper-X.Y.Z.jar
Code Block gpg --armor --output zookeeper-X.Y.Z.jar.asc --detach-sig zookeeper-X.Y.Z.jar
Generate the MD5/SHA1 checksums for each file in dist-maven
Code Block md5sum file > file.md5 sha1 file > file.sha1
Sign each file in dist-maven
Code Block gpg --armor --output file.asc --detach-sig file
Tar/GZ the release directory as zookeeper-X.Y.Z.tar.gz
Code Block tar -caf zookeeper-X.Y.Z.tar.gz zookeeper-X.Y.Z
Generate the MD5/SHA1 checksums for the release artifact.
Code Block md5sum zookeeper-X.Y.Z.tar.gz > zookeeper-X.Y.Z.tar.gz.md5 sha1sum zookeeper-X.Y.Z.tar.gz > zookeeper-X.Y.Z.tar.gz.sha1
Sign the release
Code Block gpg --armor --output zookeeper-X.Y.Z.tar.gz.asc --detach-sig zookeeper-X.Y.Z.tar.gz
- Check that release file looks ok - e.g. install it and run examples from tutorial.
- untar the release artifact in a test directory
Copy release files to a public place.
Code Block ssh people.apache.org mkdir public_html/zookeeper-X.Y.Z-candidate-0 scp -p zookeeper-X.Y.Z.tar.gz* people.apache.org:public_html/zookeeper-X.Y.Z-candidate-0
- publish Stage the release artifacts to Apache Nexus (see ZOOKEEPER-1430 - this page should be updated once that JIRA is resolved)the Apache Nexus repository
Create ~/.m2/settings.xml
Code Block <settings> <servers> <server> <id>apache.snapshots.https</id> <username>XXXXXXX</username> <password>XXXXXXXX</password> </server> <server> <id>apache.staging.https</id> <username>XXXXXXX</username> <password>XXXXXXX</password> </server> </servers> <profiles> <profile> <id>gpg</id> <properties> <gpg.passphrase>XXXXXXX</gpg.passphrase> </properties> </profile> </profiles> </settings>
- ease Call a release vote on dev at zookeeper.apache.org.
...