source: CIVL/notes/release.txt@ 4e86cdd

1.23 2.0 main test-branch
Last change on this file since 4e86cdd was b1aa433, checked in by Ziqing Luo <ziqing@…>, 11 years ago

change "su svn" to "sudo su svn"

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

  • Property mode set to 100644
File size: 2.9 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 interface
7edu.udel.cis.vsl.civl.config.CIVLConstants to use the new version and today's date.
8Also, edit README to change the version number and the changes of
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).
11
123. Commit your trunk or make sure there are no uncommitted
13modifications.
14
154. Create the tag: to create version 0.2, for example:
16
17svn copy svn://vsl.cis.udel.edu/civl/trunk svn://vsl.cis.udel.edu/civl/tags/0.2
18
195. On vsl.cis.udel.edu, sudo su svn, and edit
20/home/svn/repositories/civl/hooks/post-commit by changing the second
21argument of the build_and_test.sh command to refer to the new version of
22the release (e.g., 0.14).
23
246. The autotest script will create the release at the next CIVL commit
25(to any part of CIVL). If you don't want to wait, you can trigger it
26manually by executing from vsl, in ~/scripts/autotest:
27
28 ./build_and_test.sh CIVL $version civl $rev
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
33
34You can also type “./build_and_test.sh help” for the usage of the script.
35
367. If there are any problems, you can continue to modify the branch.
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
42and produce the new release. Here is an example:
43
44First, check out the tagged branch somewhere:
45 svn co svn://vsl.cis.udel.edu/civl/tags/0.4
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:
51 svn ci -m"Merged updated README from trunk."
52
538. Test the release: download it from the web page, move the
54executable file "civl" somewhere in your path (e.g., /tools/bin)
55and execute it on an example, e.g., "civl verify examples/barrier.cvl".
56
579. Update Trac milestones: go to https://vsl.cis.udel.edu/trac/civl/,
58log in, click on Roadmap, click on the milestone name (v0.2, for
59example), and edit it to indicate completed. You can also indicate
60that open tickets for that milestone be pushed to the next milestone.
61Update other milestones (for example, pushing the dates forward) as
62desired.
63
6410. Update default milestone/version: go to https://vsl.cis.udel.edu/trac/civl/,
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
6811. Send an email to civl-dev and civl-users announcing the new release.
Note: See TracBrowser for help on using the repository browser.