source: CIVL/notes/release.txt@ c46e702

1.23 2.0 main test-branch
Last change on this file since c46e702 was 160ecd0, checked in by Tim Zirkel <zirkeltk@…>, 12 years ago

Updated release notes to reflect moving scripts from /usa/siegel to /home/svn on vsl.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@478 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 vsl.cis.udel.edu
35eecis_su svn
36cd ~/scripts/
37svn update
38
398. On vsl.cis.udel.edu, eecis_su svn, and edit
40/home/svn/repositories/civl/hooks/post-commit by changing the second
41autotest command to refer to the new version configuration file. (You
42could also add a completely new autotest command; it will work either
43way.)
44
459. The autotest script will create the release at the next CIVL commit
46(to any part of CIVL). If you don't want to wait, you can trigger it
47manually by executing from vsl, in repos/scripts:
48
49 ./run_manager config_civl-0.2.sh
50
51where 121 is whatever the revision number was for the release.
52
5310. On vsl, edit /home/www/vsl/civl/index.html to use
54the new release in the latest stable release section:
55
56 <li><a href="test/0.2/latest/release">Latest stable release</a></li>
57Commit the change.
58
5911. If there are any problems, you can continue to modify the branch.
60For example, to incorporate changes from the trunk, update or check
61out a fresh local copy of the whole project, change into the branch
62directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
63the Subversion Book for details on merging changes. Then commit these
64changes as usual. After each commit, autotest should run automatically
65and produce the new release.
66
6712. Test the release: download it from the web page, move the
68executable file "civl" somewhere in your path (e.g., /tools/bin)
69and execute it on an example, e.g., "civl examples/barrier.cvl".
70
7113. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
72log in, click on Roadmap, click on the milestone name (v0.2, for
73example), and edit it to indicate completed. You can also indicate
74that open tickes for that milestone be pushed to the next milestone.
75Update other milestones (for example, pushing the dates forward) as
76desired.
77
7814. Send an email to civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.