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