2317 |
04 Apr 14 |
olle |
1 |
=================================================== |
2317 |
04 Apr 14 |
olle |
Release procedure for the LabEnv package |
2317 |
04 Apr 14 |
olle |
3 |
=================================================== |
2317 |
04 Apr 14 |
olle |
4 |
|
2317 |
04 Apr 14 |
olle |
Follow these instructions to release version A.B of |
2317 |
04 Apr 14 |
olle |
this package. Please update the instructions if you |
2317 |
04 Apr 14 |
olle |
find anything that is not correct or missing. |
2317 |
04 Apr 14 |
olle |
8 |
|
2317 |
04 Apr 14 |
olle |
1. Make sure that all changes have been committed to |
2317 |
04 Apr 14 |
olle |
the trunk. Check with other developers if not |
2317 |
04 Apr 14 |
olle |
sure. |
2317 |
04 Apr 14 |
olle |
12 |
|
2317 |
04 Apr 14 |
olle |
2. Update the version number. |
2317 |
04 Apr 14 |
olle |
14 |
|
2317 |
04 Apr 14 |
olle |
In build.xml: <property name="version" value="A.B" /> |
2317 |
04 Apr 14 |
olle |
16 |
|
2317 |
04 Apr 14 |
olle |
Run `ant update-version`. This should put the version |
2317 |
04 Apr 14 |
olle |
numbers in other files, including, |
2317 |
04 Apr 14 |
olle |
META-INF/extensions.xml. |
2317 |
04 Apr 14 |
olle |
20 |
|
2317 |
04 Apr 14 |
olle |
Check (and update if needed) the README file and |
2317 |
04 Apr 14 |
olle |
the wiki pages (see also step 8 below): |
2317 |
04 Apr 14 |
olle |
23 |
|
2317 |
04 Apr 14 |
olle |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.labenv |
2317 |
04 Apr 14 |
olle |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
2317 |
04 Apr 14 |
olle |
26 |
|
2317 |
04 Apr 14 |
olle |
3. Make sure that the code compiles and can be packaged. |
2317 |
04 Apr 14 |
olle |
28 |
|
2317 |
04 Apr 14 |
olle |
ant package |
2317 |
04 Apr 14 |
olle |
30 |
|
2317 |
04 Apr 14 |
olle |
will create the file 'labenv-A.B.tar.gz' in |
2317 |
04 Apr 14 |
olle |
the project directory. |
2317 |
04 Apr 14 |
olle |
33 |
|
2317 |
04 Apr 14 |
olle |
4. Make sure that the installation of the LabEnv extension works |
2317 |
04 Apr 14 |
olle |
and that the installation instructions are up to date. |
2317 |
04 Apr 14 |
olle |
36 |
|
2317 |
04 Apr 14 |
olle |
5. When everything is OK, commit any changes to subversion. |
2317 |
04 Apr 14 |
olle |
38 |
|
2317 |
04 Apr 14 |
olle |
6. Create a tag in subversion: |
2317 |
04 Apr 14 |
olle |
40 |
|
2317 |
04 Apr 14 |
olle |
svn copy http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.labenv/trunk \ |
2317 |
04 Apr 14 |
olle |
http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.labenv/tags/A.B \ |
2317 |
04 Apr 14 |
olle |
-m "Tagging release A.B" |
2317 |
04 Apr 14 |
olle |
44 |
|
2317 |
04 Apr 14 |
olle |
7. Upload the packaged release as an attachment to: |
2317 |
04 Apr 14 |
olle |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.labenv |
2317 |
04 Apr 14 |
olle |
47 |
|
2317 |
04 Apr 14 |
olle |
8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.labenv |
2317 |
04 Apr 14 |
olle |
page: |
2317 |
04 Apr 14 |
olle |
50 |
|
2317 |
04 Apr 14 |
olle |
* Add a new entry to the Download table |
2317 |
04 Apr 14 |
olle |
* Change the README link to point to the tagged release. Use |
2317 |
04 Apr 14 |
olle |
the following wiki code: |
2317 |
04 Apr 14 |
olle |
[source:/extensions/net.sf.basedb.labenv/tags/A.B/README README] |
2317 |
04 Apr 14 |
olle |
55 |
|
2317 |
04 Apr 14 |
olle |
9. Create a new milestone: 'LabEnv vA.B+1' |
2317 |
04 Apr 14 |
olle |
57 |
|
2317 |
04 Apr 14 |
olle |
10. Close the 'LabEnv A.B' milestone. Move |
2317 |
04 Apr 14 |
olle |
any remaining tickets to the newly create milestone. |
2317 |
04 Apr 14 |
olle |
60 |
|
2317 |
04 Apr 14 |
olle |
11. Update the version numbers. |
2317 |
04 Apr 14 |
olle |
62 |
|
2317 |
04 Apr 14 |
olle |
In build.xml: <property name="version" value="A.(B+1)-dev" /> |
2317 |
04 Apr 14 |
olle |
Run `ant update-version` and commit the changes to |
2317 |
04 Apr 14 |
olle |
subversion: |
2317 |
04 Apr 14 |
olle |
66 |
|
2317 |
04 Apr 14 |
olle |
svn commit -m "Preparing for future release A.B+1" |
2317 |
04 Apr 14 |
olle |
68 |
|