2933 |
14 Nov 14 |
olle |
1 |
=================================================== |
2937 |
17 Nov 14 |
olle |
Release procedure for the MeLuDi extension package |
2933 |
14 Nov 14 |
olle |
3 |
=================================================== |
2933 |
14 Nov 14 |
olle |
4 |
|
2933 |
14 Nov 14 |
olle |
Follow these instructions to release version A.B of |
2933 |
14 Nov 14 |
olle |
this package. Please update the instructions if you |
2933 |
14 Nov 14 |
olle |
find anything that is not correct or missing. |
2933 |
14 Nov 14 |
olle |
8 |
|
2933 |
14 Nov 14 |
olle |
1. Make sure that all changes have been committed to |
2933 |
14 Nov 14 |
olle |
the trunk. Check with other developers if not |
2933 |
14 Nov 14 |
olle |
sure. |
2933 |
14 Nov 14 |
olle |
12 |
|
2933 |
14 Nov 14 |
olle |
2. Update the version numbers. |
2933 |
14 Nov 14 |
olle |
14 |
|
2933 |
14 Nov 14 |
olle |
In build.xml: |
2933 |
14 Nov 14 |
olle |
<property name="version" value="A.B" /> |
2933 |
14 Nov 14 |
olle |
<property name="depend.base-version" value="..." /> |
2933 |
14 Nov 14 |
olle |
18 |
|
2933 |
14 Nov 14 |
olle |
Run `ant update-version`. This should put the version |
2933 |
14 Nov 14 |
olle |
numbers in a lot of files, including, |
2933 |
14 Nov 14 |
olle |
META-INF/extensions.xml. |
2933 |
14 Nov 14 |
olle |
22 |
|
2933 |
14 Nov 14 |
olle |
Check (and update if needed) the README file and |
2933 |
14 Nov 14 |
olle |
and the wiki pages (see also step 8 and 9 below): |
2933 |
14 Nov 14 |
olle |
25 |
|
2937 |
17 Nov 14 |
olle |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.meludi |
2933 |
14 Nov 14 |
olle |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
2933 |
14 Nov 14 |
olle |
28 |
|
2933 |
14 Nov 14 |
olle |
3. Make sure that debug flags in javascript files have been reset. |
2933 |
14 Nov 14 |
olle |
Eg. search all *.js files for 'var debug' and check that it doesn't |
2933 |
14 Nov 14 |
olle |
say 'var debug = 1', 'var debug = true' or something similar. |
2933 |
14 Nov 14 |
olle |
32 |
|
2933 |
14 Nov 14 |
olle |
4. Make sure that the code compiles and can be packaged. |
2933 |
14 Nov 14 |
olle |
34 |
|
2933 |
14 Nov 14 |
olle |
ant package |
2933 |
14 Nov 14 |
olle |
36 |
|
2937 |
17 Nov 14 |
olle |
will create the file 'meludi-A.B.tar.gz' in |
2933 |
14 Nov 14 |
olle |
the project directory. |
2933 |
14 Nov 14 |
olle |
39 |
|
2937 |
17 Nov 14 |
olle |
5. Make sure that the installation of MeLuDi works |
2933 |
14 Nov 14 |
olle |
and that the installation instructions are up to date. |
2933 |
14 Nov 14 |
olle |
42 |
|
2933 |
14 Nov 14 |
olle |
6. When everything is OK, commit any changes to subversion. |
2933 |
14 Nov 14 |
olle |
44 |
|
2933 |
14 Nov 14 |
olle |
7. Create a tag in subversion: |
2933 |
14 Nov 14 |
olle |
46 |
|
2937 |
17 Nov 14 |
olle |
svn copy http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.meludi/trunk \ |
2937 |
17 Nov 14 |
olle |
http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.meludi/tags/A.B \ |
2933 |
14 Nov 14 |
olle |
-m "Tagging release A.B" |
2933 |
14 Nov 14 |
olle |
50 |
|
2933 |
14 Nov 14 |
olle |
8. Upload the packaged release as an attachment to: |
2937 |
17 Nov 14 |
olle |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.meludi |
2933 |
14 Nov 14 |
olle |
53 |
|
2937 |
17 Nov 14 |
olle |
9. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.meludi |
2933 |
14 Nov 14 |
olle |
page: |
2933 |
14 Nov 14 |
olle |
56 |
|
2933 |
14 Nov 14 |
olle |
* Add a new entry to the Download table |
2933 |
14 Nov 14 |
olle |
* Change the README link to point to the tagged release. Use |
2933 |
14 Nov 14 |
olle |
the following wiki code: |
2937 |
17 Nov 14 |
olle |
[source:/extensions/net.sf.basedb.meludi/tags/A.B/README README] |
2933 |
14 Nov 14 |
olle |
* Check the information on the download page |
2933 |
14 Nov 14 |
olle |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
2933 |
14 Nov 14 |
olle |
and make sure it is correct |
2933 |
14 Nov 14 |
olle |
64 |
|
2937 |
17 Nov 14 |
olle |
10. Create a new milestone: 'MeLuDi vA.B+1' |
2933 |
14 Nov 14 |
olle |
66 |
|
2937 |
17 Nov 14 |
olle |
11. Close the 'MeLuDi vA.B' milestone. Move |
2933 |
14 Nov 14 |
olle |
any remaining tickets to the newly create milestone. |
2933 |
14 Nov 14 |
olle |
69 |
|
2933 |
14 Nov 14 |
olle |
12. Update the version numbers. |
2933 |
14 Nov 14 |
olle |
71 |
|
2933 |
14 Nov 14 |
olle |
In build.xml: <property name="version" value="A.(B+1)-dev" /> |
2933 |
14 Nov 14 |
olle |
Run `ant update-version` and commit the changes to |
2933 |
14 Nov 14 |
olle |
subversion: |
2933 |
14 Nov 14 |
olle |
75 |
|
2933 |
14 Nov 14 |
olle |
svn commit -m "Preparing for future release A.B+1" |
2933 |
14 Nov 14 |
olle |
77 |
|