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