source: CIVL/notes/release.txt@ c637eb4

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since c637eb4 was 2be18d9, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

fixed a wrong path in instructions.

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

  • Property mode set to 100644
File size: 3.2 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.
8Also, edit README to change the version number and the changes of
9the new version.
10
113. Commit your trunk or make sure there are no uncommitted
12modifications.
13
144. Create the tag: to create version 0.2, for example:
15
16svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
17
185. Create a new config file for autotest: check out
19svn://vsl.cis.udel.edu/scripts if you have not already, or update it
20if you already have a local copy. Create a new file config_civl-0.2.sh
21(for example) based on one of the other config_civl configuration
22files. There are 3 points that must be changed: (1) BRANCH should be
23set to 0.2 (for example); this is the name that will be assigned to
24this branch, (2) REPO needs to be changed to point to the new tagged
25version, e.g. svn://vsl.cis.udel.edu/civl/tags/0.2, and (3)
26WORKER_CONFIG needs to be changed to refer to the same configuration
27file you are creating, i.e., ${WORKER_SCRIPT_DIR}/config_civl-0.2.sh
28in this example. Save this file and commit it.
29
306. Update the autotest scripts on nikolai:
31ssh tester@nikolai.cis.udel.edu
32cd repos/scripts/
33svn update
34
357. Update the autotest scripts on vsl:
36ssh vsl.cis.udel.edu
37eecis_su svn
38cd ~/scripts/
39svn update
40
418. On vsl.cis.udel.edu, eecis_su svn, and edit
42/home/svn/repositories/civl/hooks/post-commit by changing the second
43autotest command to refer to the new version configuration file. (You
44could also add a completely new autotest command; it will work either
45way.)
46
479. The autotest script will create the release at the next CIVL commit
48(to any part of CIVL). If you don't want to wait, you can trigger it
49manually by executing from vsl, in ~/scripts:
50
51 ./run_manager.sh FullPathTo/config_civl-0.2.sh 121
52
53where 121 is whatever the revision number was for the release.
54
5510. On vsl, edit /home/www/vsl/civl/index.html to use
56the new release in the latest stable release section:
57
58 <li><a href="test/0.2/latest/release">Latest stable release</a></li>
59Commit the change.
60
6111. If there are any problems, you can continue to modify the branch.
62For example, to incorporate changes from the trunk, update or check
63out a fresh local copy of the whole project, change into the branch
64directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
65the Subversion Book for details on merging changes. Then commit these
66changes as usual. After each commit, autotest should run automatically
67and produce the new release.
68
6912. Test the release: download it from the web page, move the
70executable file "civl" somewhere in your path (e.g., /tools/bin)
71and execute it on an example, e.g., "civl verify examples/barrier.cvl".
72
7313. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
74log in, click on Roadmap, click on the milestone name (v0.2, for
75example), and edit it to indicate completed. You can also indicate
76that open tickets for that milestone be pushed to the next milestone.
77Update other milestones (for example, pushing the dates forward) as
78desired.
79
8014. Send an email to civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.