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