[2517] | 1 | ======================================================== |
---|
| 2 | Release procedure for the External files support 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 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles |
---|
| 26 | http://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 'xfiles-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 http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.xfiles/trunk \ |
---|
| 43 | http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.xfiles/tags/A.B \ |
---|
| 44 | -m "Tagging release A.B" |
---|
| 45 | |
---|
| 46 | 7. Upload the packaged release as an attachment to: |
---|
| 47 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles |
---|
| 48 | |
---|
| 49 | 8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.xfiles |
---|
| 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.xfiles/tags/A.B/README README] |
---|
| 56 | * Check the information on the download page |
---|
| 57 | http://baseplugins.thep.lu.se/wiki/PluginDownload |
---|
| 58 | and make sure it is correct |
---|
| 59 | |
---|
| 60 | 9. Create a new milestone: 'External files support A.B+1' |
---|
| 61 | |
---|
| 62 | 10. Close the 'External files support A.B' milestone. Move |
---|
| 63 | any remaining tickets to the newly create milestone. |
---|
| 64 | |
---|
| 65 | 11. Update the version numbers. |
---|
| 66 | |
---|
[2527] | 67 | In build.xml: <property name="version" value="A.(B+1)-dev" /> |
---|
[2517] | 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 | |
---|