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