source: CIVL/notes/release.txt@ 8ed2d3b

1.23 2.0 main test-branch
Last change on this file since 8ed2d3b was ede7174, checked in by Manchun Zheng <zmanchun@…>, 10 years ago

minor correction

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

  • Property mode set to 100644
File size: 3.3 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
[995ff97]62. Edit the fields named "version" and "date" in interface
7edu.udel.cis.vsl.civl.config.CIVLConstants to use the new version and today's date.
[92d1a314]8Also, edit README to change the version number and the changes of
[b8519e9a]9the new version. Updates CIVL manual accordingly (there is also version number and
10date referenced in the manual, and they need to be consistent with the release).
[70bc7c7]11
[3aad9a9]123. Commit your trunk or make sure there are no uncommitted
13modifications.
14
154. Create the tag: to create version 0.2, for example:
[70bc7c7]16
17svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
[f31e3b1]18
[4b3fab7]195. On vsl.cis.udel.edu, sudo -iu svn (file a ticket if you can't do this),
20and edit /home/svn/repositories/civl/hooks/post-commit by changing the second
[4f9c3f3]21argument of the build_and_test.sh command to refer to the new version of
22the release (e.g., 0.14).
[3aad9a9]23
[4f9c3f3]246. The autotest script will create the release at the next CIVL commit
[3aad9a9]25(to any part of CIVL). If you don't want to wait, you can trigger it
[5073fca]26manually by executing from vsl, in ~/scripts/autotest:
[3aad9a9]27
[ede7174]28 ./build_and_test.sh CIVL $BRANCH civl $revision_number(optional)
[4f9c3f3]29
30where $version is the new version number for release and $rev is
31whatever the revision number was for the release, e.g.,
32 ./build_and_test.sh CIVL 0.13 civl 1580
[3aad9a9]33
[4f9c3f3]34You can also type “./build_and_test.sh help” for the usage of the script.
[3aad9a9]35
[4f9c3f3]367. If there are any problems, you can continue to modify the branch.
[3aad9a9]37For example, to incorporate changes from the trunk, update or check
38out a fresh local copy of the whole project, change into the branch
39directory, and type svn merge svn://vsl.cis.udel.edu/civl/trunk See
40the Subversion Book for details on merging changes. Then commit these
41changes as usual. After each commit, autotest should run automatically
[8664dc0f]42and produce the new release. Here is an example:
43
[67f9d1c]44First, check out the tagged branch somewhere:
[8664dc0f]45 svn co svn://vsl.cis.udel.edu/civl/tags/0.4
[67f9d1c]46Second, go to the directory you download:
47 cd 0.4
48Third, merge changes from the trunk:
49 svn merge svn://vsl.cis.udel.edu/civl/trunk
50Forth, commit:
[851c50b7]51 svn commit -m"Merged updates from trunk."
[3aad9a9]52
[4f9c3f3]538. Test the release: download it from the web page, move the
[3aad9a9]54executable file "civl" somewhere in your path (e.g., /tools/bin)
[92d1a314]55and execute it on an example, e.g., "civl verify examples/barrier.cvl".
[3aad9a9]56
[4f9c3f3]579. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
[3aad9a9]58log in, click on Roadmap, click on the milestone name (v0.2, for
59example), and edit it to indicate completed. You can also indicate
[92d1a314]60that open tickets for that milestone be pushed to the next milestone.
[3aad9a9]61Update other milestones (for example, pushing the dates forward) as
62desired.
[70bc7c7]63
[4f9c3f3]6410. Update default milestone/version: go to https://vsl.cis.udel.edu/trac/civl/,
[b8519e9a]65log in, click on Admin, click on Milestones, choose a new milestone as the default,
66click Apply changes. Ditto for setting the default version.
67
[4f9c3f3]6811. Send an email to civl-dev and civl-users announcing the new release.
[887a26b4]69
[1aed777]7012. Update the CIVL web app's virtual machine.
71
7213. Append "+" to the fields named "version" in edu.udel.cis.vsl.civl.config.CIVLConstants.
[887a26b4]73For example, the current version is 1.2, then it becomes 1.2+, which stands for
74unstable release between 1.2 andd 1.3.
Note: See TracBrowser for help on using the repository browser.