To verify license headers, use RAT check with following command:
% mvn apache-rat:check |
Before release, a branch should have been be created for that release in the form <major>.<minor>. For example:
svn copy https://svn.apache.org/repos/asf/incubator/hama/trunk https://svn.apache.org/repos/asf/incubator/hama/branches/0.2 |
svn up |
2. Build the Hama distribution:
mvn install package [gpg:sign] |
3. Digitally sign the distribution hama-X.X.X.tar.gz.
gpg --armor --output hama-X.X.X.tar.gz.asc --detach-sig hama-X.X.X.tar.gz gpg --verify hama-X.X.X.tar.gz.asc hama-X.X.X.tar.gz 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 |
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.
Once three PMC members (PPMC and IPMC) have voted for a release, it may be published.
0. Update Maven settings
<settings> <servers> <server> <id>apache.website</id> <username>edwardyoon</username> <privateKey>/home/edward/.ssh/id_dsa</privateKey> <passphrase>YOUR-PASS</passphrase> <directoryPermissions>775</directoryPermissions> <filePermissions>644</filePermissions> </server> <server> <id>apache.snapshots.https</id> <username>edwardyoon</username> <password>YOUR-PASS</password> </server> <!-- To stage a release of some part of Maven --> <server> <id>apache.releases.https</id> <username>edwardyoon </username> <password>YOUR-PASS</password> </server> </servers> <profiles> <profile> <id>apache-release</id> <properties> <gpg.passphrase>YOUR-PASS</gpg.passphrase> </properties> </profile> </profiles> </settings> |
2. Release artifacts
3. Website update
mvn clean site-deploy |
4. Move Artifacts into Place
ssh people.apache.org cp -r ~/public_html/hama-{$VERSION}-incubating-RC2 /www/www.apache.org/dist/incubator/hama/{$VERSION}-incubating cd /www/www.apache.org/dist/incubator/hama chgrp -R incubator {$VERSION}-incubating chmod -R g+w {$VERSION}-incubating # remove older versions |
5. Announce to general@incubator.apache.org, hama-dev@incubator.apache.org