1330 |
01 Apr 11 |
nicklas |
1 |
================================================ |
1330 |
01 Apr 11 |
nicklas |
Release procedure for the HDFS extension package |
1330 |
01 Apr 11 |
nicklas |
3 |
================================================ |
1330 |
01 Apr 11 |
nicklas |
4 |
|
1330 |
01 Apr 11 |
nicklas |
Follow these instructions to release version A.B of |
1330 |
01 Apr 11 |
nicklas |
this package. Please update the instructions if you |
1330 |
01 Apr 11 |
nicklas |
find anything that is not correct or missing. |
1330 |
01 Apr 11 |
nicklas |
8 |
|
1330 |
01 Apr 11 |
nicklas |
1. Make sure that all changes have been committed to |
1330 |
01 Apr 11 |
nicklas |
the trunk. Check with other developers if not |
1330 |
01 Apr 11 |
nicklas |
sure. |
1330 |
01 Apr 11 |
nicklas |
12 |
|
1330 |
01 Apr 11 |
nicklas |
2. Update the version number. |
1330 |
01 Apr 11 |
nicklas |
14 |
|
1330 |
01 Apr 11 |
nicklas |
In build.xml: |
1330 |
01 Apr 11 |
nicklas |
<property name="version" value="A.B" /> |
1330 |
01 Apr 11 |
nicklas |
17 |
|
1330 |
01 Apr 11 |
nicklas |
Run `ant update-version`. This should put the version |
1330 |
01 Apr 11 |
nicklas |
numbers in a lot of files, including, |
1330 |
01 Apr 11 |
nicklas |
META-INF/extensions.xml. |
1330 |
01 Apr 11 |
nicklas |
21 |
|
1330 |
01 Apr 11 |
nicklas |
Check (and update if needed) the README file and |
1330 |
01 Apr 11 |
nicklas |
and the wiki pages (see also step 8 and 9 below): |
1330 |
01 Apr 11 |
nicklas |
24 |
|
1330 |
01 Apr 11 |
nicklas |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.hdfs |
1330 |
01 Apr 11 |
nicklas |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
1330 |
01 Apr 11 |
nicklas |
27 |
|
1330 |
01 Apr 11 |
nicklas |
3. Make sure that the code compiles and can be packaged. |
1330 |
01 Apr 11 |
nicklas |
29 |
|
1330 |
01 Apr 11 |
nicklas |
ant package |
1330 |
01 Apr 11 |
nicklas |
31 |
|
1330 |
01 Apr 11 |
nicklas |
will create the file 'hdfs-A.B.tar.gz' in |
1330 |
01 Apr 11 |
nicklas |
the project directory. |
1330 |
01 Apr 11 |
nicklas |
34 |
|
1330 |
01 Apr 11 |
nicklas |
4. Make sure that the installation of this extension works |
1330 |
01 Apr 11 |
nicklas |
and that the installation instructions are up to date. |
1330 |
01 Apr 11 |
nicklas |
37 |
|
1330 |
01 Apr 11 |
nicklas |
5. When everything is OK, commit any changes to subversion. |
1330 |
01 Apr 11 |
nicklas |
39 |
|
1330 |
01 Apr 11 |
nicklas |
6. Create a tag in subversion: |
1330 |
01 Apr 11 |
nicklas |
41 |
|
1330 |
01 Apr 11 |
nicklas |
svn copy http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.hdfs/trunk \ |
1330 |
01 Apr 11 |
nicklas |
http://baseplugins.thep.lu.se/svn/extensions/net.sf.basedb.hdfs/tags/A.B \ |
1330 |
01 Apr 11 |
nicklas |
-m "Tagging release A.B" |
1330 |
01 Apr 11 |
nicklas |
45 |
|
1330 |
01 Apr 11 |
nicklas |
7. Upload the packaged release as an attachment to: |
1330 |
01 Apr 11 |
nicklas |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.hdfs |
1330 |
01 Apr 11 |
nicklas |
48 |
|
1330 |
01 Apr 11 |
nicklas |
8. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.hdfs |
1330 |
01 Apr 11 |
nicklas |
page: |
1330 |
01 Apr 11 |
nicklas |
51 |
|
1330 |
01 Apr 11 |
nicklas |
* Add a new entry to the Download table |
1330 |
01 Apr 11 |
nicklas |
* Change the README link to point to the tagged release. Use |
1330 |
01 Apr 11 |
nicklas |
the following wiki code: |
1330 |
01 Apr 11 |
nicklas |
[source:/extensions/net.sf.basedb.hdfs/tags/A.B/README README] |
1330 |
01 Apr 11 |
nicklas |
* Check the information on the download page |
1330 |
01 Apr 11 |
nicklas |
http://baseplugins.thep.lu.se/wiki/PluginDownload |
1330 |
01 Apr 11 |
nicklas |
and make sure it is correct |
1330 |
01 Apr 11 |
nicklas |
59 |
|
1330 |
01 Apr 11 |
nicklas |
9. Create a new milestone: 'Hdfs vA.B+1' |
1330 |
01 Apr 11 |
nicklas |
61 |
|
1330 |
01 Apr 11 |
nicklas |
10. Close the 'Hdfs vA.B' milestone. Move |
1330 |
01 Apr 11 |
nicklas |
any remaining tickets to the newly create milestone. |
1330 |
01 Apr 11 |
nicklas |
64 |
|
1330 |
01 Apr 11 |
nicklas |
11. Update the version numbers. |
1330 |
01 Apr 11 |
nicklas |
66 |
|
1451 |
03 Nov 11 |
nicklas |
In build.xml: <property name="version" value="A.(B+1)-dev" /> |
1330 |
01 Apr 11 |
nicklas |
Run `ant update-version` and commit the changes to |
1330 |
01 Apr 11 |
nicklas |
subversion: |
1330 |
01 Apr 11 |
nicklas |
70 |
|
1330 |
01 Apr 11 |
nicklas |
svn commit -m "Preparing for future release A.B+1" |
1330 |
01 Apr 11 |
nicklas |
72 |
|