source: CIVL/notes/release.txt@ bfebb46

1.23 2.0 main test-branch
Last change on this file since bfebb46 was 5073fca, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

updated release notes; added javadoc for the new method for determining if an AST node contains a $here node.

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

  • Property mode set to 100644
File size: 3.5 KB
RevLine 
[70bc7c7]1
[3aad9a9]2 How to release a new version of CIVL
[70bc7c7]3
[3aad9a9]41. Working with your local copy of trunk, make sure all tests pass.
[70bc7c7]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.
[92d1a314]8Also, edit README to change the version number and the changes of
9the new version.
[70bc7c7]10
[3aad9a9]113. Commit your trunk or make sure there are no uncommitted
12modifications.
13
144. Create the tag: to create version 0.2, for example:
[70bc7c7]15
16svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
17
[3aad9a9]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:
[70bc7c7]31ssh tester@nikolai.cis.udel.edu
32cd repos/scripts/
33svn update
34
[3aad9a9]357. Update the autotest scripts on vsl:
[160ecd0]36ssh vsl.cis.udel.edu
37eecis_su svn
38cd ~/scripts/
[3aad9a9]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
[5073fca]49manually by executing from vsl, in ~/scripts/autotest:
[3aad9a9]50
[92d1a314]51 ./run_manager.sh FullPathTo/config_civl-0.2.sh 121
[3aad9a9]52
53where 121 is whatever the revision number was for the release.
54
[5073fca]5510. Edit svn://vsl.cis.udel.edu/vsl/web/civl/index.html:
56
57 - use the new release in the latest stable release of Download section:
[3aad9a9]58 <li><a href="test/0.2/latest/release">Latest stable release</a></li>
[5073fca]59
60 - use the new released manual in the Documentation section:
61 <li>The CIVL Manual: <a href="test/0.8/latest/release/civl-manual-0.8_711.pdf">
62 latest stable version </a> </li>
63
64 Commit the change, and then on vsl, cd /home/www/vsl/civl and svn update to
65 update index.html to the latest version.
[3aad9a9]66
6711. If there are any problems, you can continue to modify the branch.
68For example, to incorporate changes from the trunk, update or check
69out a fresh local copy of the whole project, change into the branch
70directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
71the Subversion Book for details on merging changes. Then commit these
72changes as usual. After each commit, autotest should run automatically
73and produce the new release.
74
7512. Test the release: download it from the web page, move the
76executable file "civl" somewhere in your path (e.g., /tools/bin)
[92d1a314]77and execute it on an example, e.g., "civl verify examples/barrier.cvl".
[3aad9a9]78
7913. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
80log in, click on Roadmap, click on the milestone name (v0.2, for
81example), and edit it to indicate completed. You can also indicate
[92d1a314]82that open tickets for that milestone be pushed to the next milestone.
[3aad9a9]83Update other milestones (for example, pushing the dates forward) as
84desired.
[70bc7c7]85
[3aad9a9]8614. Send an email to civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.