This page is a brain dump of the various items needed for a release.

Requirements

Preparation

svn co https://svn.apache.org/repos/asf/jmeter/trunk jmeter_v2_7_RC3

cd jmeter_v2_7_RC3

ant download_jars 

ant clean-docs
ant docs-site
ant docs-api -Djmeter.version=2.7

svn commit -m "Prepare next release 2.7: update docs tree and overview"

svn update

svn copy -m "Tag for pre-release" . https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC3

svn switch https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC3

ant -Djmeter.version=2.7 -Duser.name=username@apache.org distribution

Generate Release

ant _dist_maven -Djmeter.version=2.7
ant sign_dist -Dgpg.keyname=<YOUR_KEY_ID> -Dgpg.secretKeyring=<path to secring.gpg i.e. ~/.gnupg/secring.gpg>

ant maven_upload -Djmeter.version=2.7 -DrepoType=releases

cd dist/
java -jar $RAT_HOME/apache-rat-0.8.jar ./apache-jmeter-2.7.tgz > rat-report-jmeter-2.7RC3.txt
unix2dos rat-report-jmeter-2.7RC3.txt

Checks to do before send vote email

Vote on release

mkdir -p ~/jmeter_v2_7_RC3/dist/

mkdir -p ~/public_html/jmeter-2.7RC3/dist/

cp ~/jmeter_v2_7_RC3/dist/* ~/public_html/jmeter-2.7RC3/dist/

cd ~/public_html/jmeter-2.7RC3/
svn co https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC3/docs docs

cd $HOME
cp  ~/public_html/jmeter-2.7RC3/dist/apache-jmeter-2.7.tgz $HOME
tar xfz apache-jmeter-2.7.tgz
cd apache-jmeter-2.7/docs/
mv api ~/public_html/jmeter-2.7RC3/docs/api
cd $HOME
rm -r $HOME/apache-jmeter-2.7

After VOTE success

svn copy https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC3 https://svn.apache.org/repos/asf/jmeter/tags/v2_7

Move RC dist files to release

cd ~/public_html/jmeter-2.7RC3/dist

chgrp jmeter apache-jmeter*
chmod g+w apache-jmeter*

cp apache-jmeter-2.7_src* /www/www.apache.org/dist/jmeter/source
cp apache-jmeter-2.7.zip* /www/www.apache.org/dist/jmeter/binaries
cp apache-jmeter-2.7.tgz* /www/www.apache.org/dist/jmeter/binaries

Update Site dist

svn co  https://svn.apache.org/repos/asf/jmeter/dist dist-jmeter

svn commit

cd /www/www.apache.org/dist/jmeter

svn update

Update JMeter site

cd /www/jmeter.apache.org/

svn switch http://svn.apache.org/repos/asf/jmeter/branches/docs-2.7/docs

cd /www/jmeter.apache.org/
rm -r /www/jmeter.apache.org/api
cd ~/public_html/jmeter-2.7RC3/docs
cp -R api /www/jmeter.apache.org
chmod -R g+w /www/jmeter.apache.org/api

Maven Release

Announce

Make sure: JMeter website is update AND download mirrors too.

Tidy up