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