...
Code Block |
---|
md5 <FILE>.tar.gz > <FILE>.tar.gz.md5 shasum <FILE>.tar.gz > <FILE>.tar.gz.sha1 gpg --armor --output <FILE>.tar.gz.asc --detach-sig <FILE>.tar.gz |
Copy the directory to your public_html directory on people.apache.org, naming it bookkeeper-<VERSION>-candidate-0.
... and into Maven
Code Block |
---|
mvn clean deploy -Pdeploy
|
This will ask for your gpg passphrase.
Login to https://repository.apache.org using your Apache SVN credentials. Click on Staging on the left. Then click on org.apache.bookkeeper in the list of repositories. In the panel below you should see an open repository that is linked to your username and IP. Select this repository and click Close. This will close the repository from future deployments and make it available for others to view.
Tag the release
Commit changes to subversion, and tag:
Code Block |
---|
svn commit -m "Preparing for release X.Y.Z"
svn copy https://svn.apache.org/repos/asf/zookeeper/bookkeeper/branches/branch-X.Y https://svn.apache.org/repos/asf/zookeeper/bookkeeper/tags/release-X.Y.Z -m "BookKeeper X.Y.Z release."
|
Run the vote
Send a mail like the following, updating the relevant content.
Code Block |
---|
To: bookkeeper-dev@zookeeper.apache.org
Subject: [VOTE] BookKeeper X.Y.0 Release Candidate 0
This is the first release candidate for Apache BookKeeper, version X.Y.0.
It fixes the following issues:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12319145&styleName=Html&projectId=12311293
*** Please download, test and vote by June 5th 2012, 10:00 GMT.
Note that we are voting upon the source (tag), binaries are provided for
convenience.
Source and binary files:
http://people.apache.org/~sijie/bookkeeper-4.1.0-candidate-0/
Maven staging repo:
https://repository.apache.org/content/repositories/orgapachebookkeeper-169/
The tag to be voted upon:
http://svn.apache.org/repos/asf/zookeeper/bookkeeper/tags/release-4.1.0/
BookKeeper's KEYS file containing PGP keys we use to sign the release:
http://svn.apache.org/repos/asf/zookeeper/bookkeeper/dist/KEYS
Please download the the source package, and follow the README to build
and run a bookkeeper and hedwig service.
|
Release the artifacts
Copy the packages to the correct place.
Code Block |
---|
ssh people.apache.org
cp -r ~/public_html/bookkeeper-X.Y.Z-candidate-<CANDIDATE> /www/www.apache.org/dist/zookeeper/bookkeeper/bookkeeper-X.Y.Z
chgrp -R zookeeper /www/www.apache.org/dist/zookeeper/bookkeeper/bookkeeper-X.Y.Z
chmod -R /www/www.apache.org/dist/zookeeper/bookkeeper/bookkeeper-X.Y.Z
|
Release the repository in maven. Log in to https://repository.apache.org, click on Staging on the left. Select the repository that you closed earlier, and click Release, using a description like "Apache BookKeeper X.Y.Z artifacts". This will make the artifacts publicly available.