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