1 | ========================================================= |
---|
2 | Release procedure for the GenePattern integration 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 | * In META-INF/extensions.xml: <version>A.B</version> |
---|
17 | * In src/net/sf/basedb/genepattern/GenePattern.java: |
---|
18 | public ... String VERSION = "A.B" |
---|
19 | |
---|
20 | 3. Make sure that the code compiles and can be packaged. |
---|
21 | |
---|
22 | ant package |
---|
23 | |
---|
24 | will create the file 'gp-integration-A.B.tar.gz' in |
---|
25 | the project directory. |
---|
26 | |
---|
27 | 4. Make sure that the installation works and that the installation |
---|
28 | instructions are up to date. |
---|
29 | |
---|
30 | 5. When everything is OK, commit any changes to subversion. |
---|
31 | |
---|
32 | 6. Create a tag in subversion: |
---|
33 | |
---|
34 | svn copy http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.genepattern/trunk \ |
---|
35 | http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.genepattern/tags/A.B \ |
---|
36 | -m "Tagging release A.B" |
---|
37 | |
---|
38 | 7. Upload the packaged release as an attachment to: |
---|
39 | http://baseplugins.thep.lu.se/wiki/net.sf.basedb.genepattern |
---|
40 | |
---|
41 | 8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.genepattern |
---|
42 | page: |
---|
43 | |
---|
44 | * Add a new entry to the Download table |
---|
45 | * Change the README link to point to the tagged release. Use |
---|
46 | the following wiki code: |
---|
47 | [source:/extensions/net.sf.basedb.genepattern/tags/A.B/README README] |
---|
48 | |
---|
49 | 9. Create a new milestone: 'GenePattern integration A.B+1' |
---|
50 | |
---|
51 | 10. Close the 'GenePattern integration A.B' milestone. Move |
---|
52 | any remaining tickets to the newly create milestone. |
---|
53 | |
---|
54 | 11. Update the version number in build.xml. |
---|
55 | |
---|
56 | <property name="version" value="A.B+1pre" /> |
---|
57 | |
---|
58 | Commit the change to subversion: |
---|
59 | |
---|
60 | svn commit -m "Preparing for future release A.B+1" |
---|
61 | |
---|