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