source: CIVL/notes/release.txt@ 2b5dc93

1.23 2.0 main test-branch
Last change on this file since 2b5dc93 was 3aad9a9, checked in by Stephen Siegel <siegel@…>, 13 years ago

Completed the instructions on creating a new release of CIVL.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@124 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 3.1 KB
Line 
1
2 How to release a new version of CIVL
3
41. Working with your local copy of trunk, make sure all tests pass.
5
62. Edit the fields named "version" and "date" in class
7edu.udel.cis.vsl.civl.CIVL to use the new version and today's date.
8
93. Commit your trunk or make sure there are no uncommitted
10modifications.
11
124. Create the tag: to create version 0.2, for example:
13
14svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
15
165. Create a new config file for autotest: check out
17svn://vsl.cis.udel.edu/scripts if you have not already, or update it
18if you already have a local copy. Create a new file config_civl-0.2.sh
19(for example) based on one of the other config_civl configuration
20files. There are 3 points that must be changed: (1) BRANCH should be
21set to 0.2 (for example); this is the name that will be assigned to
22this branch, (2) REPO needs to be changed to point to the new tagged
23version, e.g. svn://vsl.cis.udel.edu/civl/tags/0.2, and (3)
24WORKER_CONFIG needs to be changed to refer to the same configuration
25file you are creating, i.e., ${WORKER_SCRIPT_DIR}/config_civl-0.2.sh
26in this example. Save this file and commit it.
27
286. Update the autotest scripts on nikolai:
29ssh tester@nikolai.cis.udel.edu
30cd repos/scripts/
31svn update
32
337. Update the autotest scripts on vsl:
34ssh siegel@vsl.cis.udel.edu
35cd repos/scripts/
36svn update
37
388. On vsl.cis.udel.edu, eecis_su svn, and edit
39/home/svn/repositories/civl/hooks/post-commit by changing the second
40autotest command to refer to the new version configuration file. (You
41could also add a completely new autotest command; it will work either
42way.)
43
449. The autotest script will create the release at the next CIVL commit
45(to any part of CIVL). If you don't want to wait, you can trigger it
46manually by executing from vsl, in repos/scripts:
47
48 ./run_manager config_civl-0.2.sh 121
49
50where 121 is whatever the revision number was for the release.
51
5210. On vsl, edit /home/www/vsl/civl/index.html to use
53the new release in the latest stable release section:
54
55 <li><a href="test/0.2/latest/release">Latest stable release</a></li>
56Commit the change.
57
5811. If there are any problems, you can continue to modify the branch.
59For example, to incorporate changes from the trunk, update or check
60out a fresh local copy of the whole project, change into the branch
61directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
62the Subversion Book for details on merging changes. Then commit these
63changes as usual. After each commit, autotest should run automatically
64and produce the new release.
65
6612. Test the release: download it from the web page, move the
67executable file "civl" somewhere in your path (e.g., /tools/bin)
68and execute it on an example, e.g., "civl examples/barrier.cvl".
69
7013. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
71log in, click on Roadmap, click on the milestone name (v0.2, for
72example), and edit it to indicate completed. You can also indicate
73that open tickes for that milestone be pushed to the next milestone.
74Update other milestones (for example, pushing the dates forward) as
75desired.
76
7714. Send an email to civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.