1870 |
20 Feb 13 |
nicklas |
1 |
=================================================== |
1870 |
20 Feb 13 |
nicklas |
Release procedure for the example extensions |
1870 |
20 Feb 13 |
nicklas |
3 |
=================================================== |
1870 |
20 Feb 13 |
nicklas |
4 |
|
1870 |
20 Feb 13 |
nicklas |
Follow these instructions to release version A.B of |
1870 |
20 Feb 13 |
nicklas |
these code examples. Please update the instructions |
1870 |
20 Feb 13 |
nicklas |
if you find anything that is not correct or missing. |
1870 |
20 Feb 13 |
nicklas |
8 |
|
1870 |
20 Feb 13 |
nicklas |
1. Make sure that all changes have been committed to |
1870 |
20 Feb 13 |
nicklas |
the trunk. Check with other developers if not |
1870 |
20 Feb 13 |
nicklas |
sure. |
1870 |
20 Feb 13 |
nicklas |
12 |
|
1870 |
20 Feb 13 |
nicklas |
2. Update the version number. |
1870 |
20 Feb 13 |
nicklas |
14 |
|
1870 |
20 Feb 13 |
nicklas |
In build.xml: |
1870 |
20 Feb 13 |
nicklas |
<property name="version" value="A.B" /> |
1870 |
20 Feb 13 |
nicklas |
17 |
|
1870 |
20 Feb 13 |
nicklas |
Run `ant update-version`. This should put the version |
1870 |
20 Feb 13 |
nicklas |
numbers in a lot of files, including, |
1870 |
20 Feb 13 |
nicklas |
META-INF/extensions.xml. |
1870 |
20 Feb 13 |
nicklas |
21 |
|
1870 |
20 Feb 13 |
nicklas |
Check (and update if needed) the README file and |
1870 |
20 Feb 13 |
nicklas |
and the wiki pages (see also step 8 and 9 below): |
1870 |
20 Feb 13 |
nicklas |
24 |
|
1870 |
20 Feb 13 |
nicklas |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.print |
1870 |
20 Feb 13 |
nicklas |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
1870 |
20 Feb 13 |
nicklas |
27 |
|
1870 |
20 Feb 13 |
nicklas |
3. Make sure that the code compiles and can be packaged. |
1870 |
20 Feb 13 |
nicklas |
29 |
|
1870 |
20 Feb 13 |
nicklas |
ant package |
1870 |
20 Feb 13 |
nicklas |
31 |
|
1870 |
20 Feb 13 |
nicklas |
will create the file 'base-print-A.B.tar.gz' in |
1870 |
20 Feb 13 |
nicklas |
the project directory. |
1870 |
20 Feb 13 |
nicklas |
34 |
|
1870 |
20 Feb 13 |
nicklas |
4. Make sure that the installation of the extensions works |
1870 |
20 Feb 13 |
nicklas |
and that the installation instructions are up to date. |
1870 |
20 Feb 13 |
nicklas |
37 |
|
1870 |
20 Feb 13 |
nicklas |
5. When everything is OK, commit any changes to subversion. |
1870 |
20 Feb 13 |
nicklas |
39 |
|
1870 |
20 Feb 13 |
nicklas |
6. Create a tag in subversion: |
1870 |
20 Feb 13 |
nicklas |
41 |
|
1870 |
20 Feb 13 |
nicklas |
svn copy http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.print/trunk \ |
1870 |
20 Feb 13 |
nicklas |
http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.print/tags/A.B \ |
1870 |
20 Feb 13 |
nicklas |
-m "Tagging release Print A.B" |
1870 |
20 Feb 13 |
nicklas |
45 |
|
1870 |
20 Feb 13 |
nicklas |
7. Upload the packaged release as an attachment to: |
1870 |
20 Feb 13 |
nicklas |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.print |
1870 |
20 Feb 13 |
nicklas |
48 |
|
1870 |
20 Feb 13 |
nicklas |
8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.print |
1870 |
20 Feb 13 |
nicklas |
page: |
1870 |
20 Feb 13 |
nicklas |
51 |
|
1870 |
20 Feb 13 |
nicklas |
* Add a new entry to the Download table |
1870 |
20 Feb 13 |
nicklas |
* Change the README link to point to the tagged release. Use |
1870 |
20 Feb 13 |
nicklas |
the following wiki code: |
1870 |
20 Feb 13 |
nicklas |
[source:/extensions/net.sf.basedb.print/tags/A.B/README README] |
1870 |
20 Feb 13 |
nicklas |
* Check the information on the download page |
1870 |
20 Feb 13 |
nicklas |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
1870 |
20 Feb 13 |
nicklas |
and make sure it is correct |
1870 |
20 Feb 13 |
nicklas |
59 |
|
1870 |
20 Feb 13 |
nicklas |
9. Create a new milestone: 'Print vA.B+1' |
1870 |
20 Feb 13 |
nicklas |
61 |
|
1870 |
20 Feb 13 |
nicklas |
10. Close the 'Print A.B' milestone. Move |
1870 |
20 Feb 13 |
nicklas |
any remaining tickets to the newly create milestone. |
1870 |
20 Feb 13 |
nicklas |
64 |
|
1870 |
20 Feb 13 |
nicklas |
11. Update the version number in build.xml. |
1870 |
20 Feb 13 |
nicklas |
66 |
|
1870 |
20 Feb 13 |
nicklas |
<property name="version" value="A.B+1-dev" /> |
1870 |
20 Feb 13 |
nicklas |
68 |
|
1870 |
20 Feb 13 |
nicklas |
Run `ant update-version` and then commit the changes |
1870 |
20 Feb 13 |
nicklas |
to subversion: |
1870 |
20 Feb 13 |
nicklas |
71 |
|
1870 |
20 Feb 13 |
nicklas |
svn commit -m "Preparing for future release Print A.B+1" |
1870 |
20 Feb 13 |
nicklas |
73 |
|