27 |
# E.g. given |
# E.g. given |
28 |
# |
# |
29 |
# thuban_branch = "1.1" |
# thuban_branch = "1.1" |
30 |
# thuban_release = "cvs" |
# thuban_release = "svn" |
31 |
# |
# |
32 |
# the version string will be "Thuban 1.1 cvs 2004-02-24" (obviously the |
# the version string will be "Thuban 1.1 svn-20040224" (obviously the |
33 |
# actual date might differ :) ). OTOH, given |
# actual date might differ :) ). OTOH, given |
34 |
# |
# |
35 |
# thuban_branch = "1.0" |
# thuban_branch = "1.0" |
39 |
# |
# |
40 |
|
|
41 |
thuban_branch = "1.1" |
thuban_branch = "1.1" |
42 |
thuban_release = "cvs" |
thuban_release = "svn" |
43 |
|
|
44 |
|
|
45 |
|
|
91 |
|
|
92 |
versions = {} |
versions = {} |
93 |
|
|
94 |
if thuban_release == "cvs": |
if thuban_release == "svn": |
95 |
version = '%s %s-%s' % (thuban_branch, thuban_release, get_date('%Y%m%d')) |
version = '%s %s-%s' % (thuban_branch, thuban_release, get_date('%Y%m%d')) |
96 |
longversion = '%s\n%s' % (version, get_changelog_date()) |
longversion = '%s\n%s' % (version, get_changelog_date()) |
97 |
else: |
else: |