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