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



svn co jmeter_v2_7_RC2

cd jmeter_v2_7_RC2

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 (RC3)"

svn update

svn copy -m "Tag for pre-release" .

svn switch

ant -Djmeter.version=2.7 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.7RC2.txt
unix2dos rat-report-jmeter-2.7RC2.txt

Checks to do before send vote email

Vote on release

mkdir -p ~/jmeter_v2_7_RC2/dist/

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

cp ~/jmeter_v2_7_RC2/dist/* ~/public_html/jmeter-2.7RC2/dist/

cd ~/public_html/jmeter-2.7RC2/
svn co docs

cd $HOME
cp  ~/public_html/jmeter-2.7RC2/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.7RC2/docs/api
cd $HOME
rm -r $HOME/apache-jmeter-2.7

After VOTE success

svn copy

Move RC dist files to release

cd ~/public_html/jmeter-2.7RC2/dist

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

cp apache-jmeter-2.7_src* /www/
cp* /www/
cp apache-jmeter-2.7.tgz* /www/

Update Site dist

svn co dist-jmeter

svn commit

cd /www/

svn update

Update JMeter site

cd /www/

svn switch

cd /www/
rm -r /www/
cd ~/public_html/jmeter-2.7RC2/docs
cp -R api /www/
chmod -R g+w /www/

Maven Release


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

Tidy up