1 | =================================================== |
---|
2 | Release procedure for the Normalizers package |
---|
3 | =================================================== |
---|
4 | |
---|
5 | Follow these instructions to release version A.B of |
---|
6 | this plug-in package. Please update the instructions |
---|
7 | if you 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 version numbers. |
---|
14 | |
---|
15 | In build.xml: |
---|
16 | <property name="version" value="A.B" /> |
---|
17 | <property name="depend.base-version" value="X.Y.Z" /> |
---|
18 | |
---|
19 | Run `ant update-version`. This should put the version |
---|
20 | numbers in a lot of files, including, Normalizations.java |
---|
21 | and META-INF/extensions.xml. |
---|
22 | |
---|
23 | 3. Make sure that the code compiles and can be packed. |
---|
24 | |
---|
25 | ant package |
---|
26 | |
---|
27 | will create the file 'normalization-plugins-A.B.tar.gz' in |
---|
28 | the 'package' subdirectory. |
---|
29 | |
---|
30 | 4. Make sure that the installation of the plug-in works |
---|
31 | and that the installation instructions are up to date. |
---|
32 | Test this on a fresh BASE installation. |
---|
33 | |
---|
34 | 5. When everything is OK, commit any changes to subversion. |
---|
35 | |
---|
36 | 6. Create a tag in subversion: |
---|
37 | |
---|
38 | svn copy http://baseplugins.thep.lu.se/svn/plugins/base2/net.sf.basedb.normalizers/trunk \ |
---|
39 | http://baseplugins.thep.lu.se/svn/plugins/base2/net.sf.basedb.normalizers/tags/A.B \ |
---|
40 | -m "Tagging release A.B" |
---|
41 | |
---|
42 | 7. Upload the packaged release as an attachment to: |
---|
43 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.normalizers |
---|
44 | |
---|
45 | 8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.normalizers |
---|
46 | page: |
---|
47 | |
---|
48 | * Add a new entry to the Download table |
---|
49 | * Change the INSTALL-link and README-link to point to |
---|
50 | the tagged release |
---|
51 | * Check that the other information on that page is correct |
---|
52 | (READ IT!) |
---|
53 | |
---|
54 | 9. Check the http://baseplugins.thep.lu.se/wiki/PluginDownload |
---|
55 | and make sure that the information on that page is correct. |
---|
56 | |
---|
57 | 10. Create a new milestone: 'net.sf.basedb.normalizers vA.B+1' |
---|
58 | |
---|
59 | 11. Close the 'net.sf.basedb.normalizers A.B' milestone. Move |
---|
60 | any remaining tickets to the newly create milestone. |
---|
61 | |
---|
62 | 12. Update the version numbers. |
---|
63 | |
---|
64 | In build.xml: <property name="version" value="A.(B+1)-dev" /> |
---|
65 | Run `ant update-version` and commit the changes to |
---|
66 | subversion: 'Preparing for future release A.B+1'. |
---|
67 | |
---|