647 |
11 Apr 08 |
nicklas |
1 |
=================================================== |
647 |
11 Apr 08 |
nicklas |
Release procedure for the plug-in examples |
647 |
11 Apr 08 |
nicklas |
3 |
=================================================== |
647 |
11 Apr 08 |
nicklas |
4 |
|
647 |
11 Apr 08 |
nicklas |
Follow these instructions to release version A.B of |
647 |
11 Apr 08 |
nicklas |
these code examples. Please update the instructions |
647 |
11 Apr 08 |
nicklas |
if you find anything that is not correct or missing. |
647 |
11 Apr 08 |
nicklas |
8 |
|
647 |
11 Apr 08 |
nicklas |
1. Make sure that all changes have been committed to |
647 |
11 Apr 08 |
nicklas |
the trunk. Check with other developers if not |
647 |
11 Apr 08 |
nicklas |
sure. |
647 |
11 Apr 08 |
nicklas |
12 |
|
647 |
11 Apr 08 |
nicklas |
2. Update the version number in build.xml. |
647 |
11 Apr 08 |
nicklas |
14 |
|
647 |
11 Apr 08 |
nicklas |
<property name="version" value="A.B" /> |
647 |
11 Apr 08 |
nicklas |
16 |
|
647 |
11 Apr 08 |
nicklas |
3. Make sure that the code compiles and can be packaged. |
647 |
11 Apr 08 |
nicklas |
18 |
|
647 |
11 Apr 08 |
nicklas |
ant package |
647 |
11 Apr 08 |
nicklas |
20 |
|
647 |
11 Apr 08 |
nicklas |
will create the file 'example-plugins-A.B.tar.gz' in |
647 |
11 Apr 08 |
nicklas |
the project directory. |
647 |
11 Apr 08 |
nicklas |
23 |
|
647 |
11 Apr 08 |
nicklas |
4. Make sure that the installation of the examples works |
647 |
11 Apr 08 |
nicklas |
and that the installation instructions are up to date. |
647 |
11 Apr 08 |
nicklas |
26 |
|
647 |
11 Apr 08 |
nicklas |
5. When everything is OK, commit any changes to subversion. |
647 |
11 Apr 08 |
nicklas |
28 |
|
647 |
11 Apr 08 |
nicklas |
6. Create a tag in subversion: |
647 |
11 Apr 08 |
nicklas |
30 |
|
647 |
11 Apr 08 |
nicklas |
svn copy http://baseplugins.thep.lu.se/svn/plugins/base2/net.sf.basedb.examples/trunk \ |
647 |
11 Apr 08 |
nicklas |
http://baseplugins.thep.lu.se/svn/plugins/base2/net.sf.basedb.examples/tags/A.B \ |
647 |
11 Apr 08 |
nicklas |
-m "Tagging release A.B" |
647 |
11 Apr 08 |
nicklas |
34 |
|
648 |
11 Apr 08 |
nicklas |
7. Check out the tagged version and package it. |
648 |
11 Apr 08 |
nicklas |
36 |
|
648 |
11 Apr 08 |
nicklas |
8. Upload the packaged release as an attachment to: |
647 |
11 Apr 08 |
nicklas |
http://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.plugins |
647 |
11 Apr 08 |
nicklas |
39 |
|
648 |
11 Apr 08 |
nicklas |
9. Edit the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.examples.plugins |
647 |
11 Apr 08 |
nicklas |
page: |
647 |
11 Apr 08 |
nicklas |
42 |
|
647 |
11 Apr 08 |
nicklas |
* Add a new entry to the Download table |
647 |
11 Apr 08 |
nicklas |
* Change the README link to point to the tagged release. Use |
647 |
11 Apr 08 |
nicklas |
the following wiki code: |
647 |
11 Apr 08 |
nicklas |
[source:/plugins/base2/net.sf.basedb.examples/tags/A.B/README README] |
647 |
11 Apr 08 |
nicklas |
47 |
|
648 |
11 Apr 08 |
nicklas |
10. Create a new milestone: 'Plugin examples vA.B+1' |
647 |
11 Apr 08 |
nicklas |
49 |
|
648 |
11 Apr 08 |
nicklas |
11. Close the 'Plugins examples A.B' milestone. Move |
647 |
11 Apr 08 |
nicklas |
any remaining tickets to the newly create milestone. |
647 |
11 Apr 08 |
nicklas |
52 |
|
648 |
11 Apr 08 |
nicklas |
12. Update the version number in build.xml. |
647 |
11 Apr 08 |
nicklas |
54 |
|
647 |
11 Apr 08 |
nicklas |
<property name="version" value="A.B+1" /> |
647 |
11 Apr 08 |
nicklas |
56 |
|
647 |
11 Apr 08 |
nicklas |
Commit the change to subversion: |
647 |
11 Apr 08 |
nicklas |
58 |
|
647 |
11 Apr 08 |
nicklas |
'Preparing for future release A.B+1'. |
647 |
11 Apr 08 |
nicklas |
60 |
|