Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Table of Contents

This page explains related information required for publishing a release.

Check list before release

To verify license headers, use RAT check with following command:

No Format
% mvn apache-rat:check

Branching the release candidate

Before release, a branch should have been be created for that release in the form <major>.<minor>. For example:

No Format
svn copy https://svn.apache.org/repos/asf/hama/trunk https://svn.apache.org/repos/asf/hama/branches/0.2

Building Distribution

  1. Update to the latest SVN revision:
No Format
 svn up 

2. Publish a SNAPSHOT

No Format
 mvn deploy 

3. Prepare the release:

No Format
 mvn release:prepare 

If you need to rollback the release,

No Format
 mvn release:rollback 

.

4. Digitally sign the distribution hama-X.X.X.tar.gz.

No Format
md5sum hama-x.x.x.tar.gz > hama-x.x.x.tar.gz.md5
sha1sum hama-x.x.x.tar.gz > hama-x.x.x.tar.gz.sha1

5. Put the release candidate somewhere people can test it on different platforms

No Format
scp dist/target/** edwardyoon@people.apache.org:/home/edwardyoon/public_html/dist/0.6.1-RC3

Voting

Wiki Markup
Each release must be voted by the PMC on the hama-dev mailing list. Vote threads are indicated by starting the subject line with \[VOTE\].

For a vote to pass at least three +1 votes are needed. Votes are normally run for 72 hours. When starting the vote, indicate the date and time the vote period ends.

When the vote period ends, tally up the votes and report the final result to the mailing list.

Publishing

Once three PMC members have voted for a release, it may be published.

  1. Manage versions in JIRA

2. Release artifacts

No Format
 mvn release:perform 

Now you must close the staging repository to indicate to Nexus that the build is done and to make the artifacts available. See http://www.apache.org/dev/publishing-maven-artifacts.html

No Format
scp -r edwardyoon@people.apache.org:/home/edwardyoon/public_html/dist/0.6.2-RC1/ ./
mv 0.6.2-RC1 0.6.2
svn add 0.6.2; svn commit ./ -m "Release Hama 0.6.2"

3. Website update

Use CMS to deploy web site or commit changes to http://svn.apache.org/repos/asf/hama/site/trunk/ directly

4. Announce to announce@apache.org, dev@hama.apache.org, user@hama.apache.org

5. After release is published to dist, please remove the old release.

Reference