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