...
No Format |
---|
svn co https://svn.apache.org/repos/asf/jmeter/trunk jmeter_v2_7_RC2RC3 |
- Move to new workspace:
No Format |
---|
cd jmeter_v2_7_RC2RC3 |
- update the version / year in the new workspace: JMeterVersion.java (version and year) and NOTICE (year)
- ./src/core/org/apache/jmeter/util/JMeterVersion.java:
- section: private static final String VERSION = "2.7";
- section: private static final String COPYRIGHT = "Copyright (c) 1998-2012 The Apache Software Foundation";
- ./NOTICE:
- section: Copyright 1998-2012 The Apache Software Foundation
- ./src/core/org/apache/jmeter/util/JMeterVersion.java:
- update xdocs/download_jmeter.xml to the new version
- section: <!ENTITY release '2.7'>
- Download external jars
...
No Format |
---|
svn commit -m "Prepare next release 2.7: update docs tree and overview (RC3)"
|
- make a last SVN update to update revision number for your workspace
...
- this will create the tag from the contents of the workspace. Only the updated files will be shown in the commit message; most files will be shown as being copied from trunk.
- N.B. Tags must be immutable, i.e. must not be changed once created. A tag can be deleted if it is no longer needed, but must not be recreated.
- If there is a problem with the contents of an RC tag, create a new tag, for example v2_7_RC2RC3
- If the tag is part of an ongoing release vote, do not delete it whilst the vote is ongoing, even if the vote is now using a later tag. It can be useful to be able to compare the contents of tags as part of the voting process.
- Once the release vote is over, intermediate tags are no longer needed, and can be deleted.
- If the tag has not been used in a release vote, it can be deleted immediately.
- N.B. Tags must be immutable, i.e. must not be changed once created. A tag can be deleted if it is no longer needed, but must not be recreated.
...
No Format |
---|
svn switch https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2RC3 |
- build code to make a testing binary with this ant task:
...
- If tests are ok, from the workspace jmeter_v2_7_RC2 RC3
- (no need to fetch the tag again, as we already have a clean workspace)
- sign distribution files and maven files via ant tasks:
...
No Format |
---|
cd dist/ java -jar $RAT_HOME/apache-rat-0.8.jar ./apache-jmeter-2.7.tgz > rat-report-jmeter-2.7RC27RC3.txt unix2dos rat-report-jmeter-2.7RC27RC3.txt |
Checks to do before send vote email
...
No Format |
---|
mkdir -p ~/jmeter_v2_7_RC2RC3/dist/ |
- From your computer, upload dist files and RAT report to the temporary location (e.g. personal dir: ~/jmeter_v2_7_RC2RC3/dist/) in people.apache.org
- Return to people.apache.org
- Preparation RC publishing
No Format |
---|
mkdir -p ~/public_html/jmeter-2.7RC27RC3/dist/ |
- copy archives, sigs and hashes to dist
No Format |
---|
cp ~/jmeter_v2_7_RC2RC3/dist/* ~/public_html/jmeter-2.7RC27RC3/dist/ |
- check hashes (before / after uploads)
- Install the site docs:
No Format |
---|
cd ~/public_html/jmeter-2.7RC27RC3/ svn co https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2RC3/docs docs |
- Extract Javadocs:
unzip -x jmeter-m.n.o.zip '*/docs/api/*'
and move to docs/api- Example:
No Format |
---|
cd $HOME cp ~/public_html/jmeter-2.7RC27RC3/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.7RC27RC3/docs/api cd $HOME rm -r $HOME/apache-jmeter-2.7 |
...
No Format |
---|
svn copy https://svn.apache.org/repos/asf/jmeter/tags/v2_7_RC2RC3 https://svn.apache.org/repos/asf/jmeter/tags/v2_7 |
...
No Format |
---|
cd ~/public_html/jmeter-2.7RC27RC3/dist |
- Make sure that file group is set to jmeter (chgrp jmeter apache-jmeter*)
...
No Format |
---|
cd /www/jmeter.apache.org/ rm -r /www/jmeter.apache.org/api cd ~/public_html/jmeter-2.7RC27RC3/docs cp -R api /www/jmeter.apache.org chmod -R g+w /www/jmeter.apache.org/api |
...