diff options
author | Steven Knight <knight@baldmt.com> | 2004-08-18 16:22:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-08-18 16:22:42 (GMT) |
commit | 3d5c2428e3e9f163184da862fd1d1abb7936a4eb (patch) | |
tree | 90974d78c9a4a97699c2ec879d28e0f4b713c6a5 /SConstruct | |
parent | a47ab820870caebcc00daf32531cfad3abd2e532 (diff) | |
download | SCons-3d5c2428e3e9f163184da862fd1d1abb7936a4eb.zip SCons-3d5c2428e3e9f163184da862fd1d1abb7936a4eb.tar.gz SCons-3d5c2428e3e9f163184da862fd1d1abb7936a4eb.tar.bz2 |
Initialize the new branch for release.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -39,7 +39,7 @@ import sys import time project = 'scons' -default_version = '0.95' +default_version = '0.96' copyright = "Copyright (c) %s The SCons Foundation" % copyright_years Default('.') @@ -104,13 +104,14 @@ elif aesub: else: revision = default_version -a = string.split(revision, '.') -arr = [a[0]] -for s in a[1:]: - if len(s) == 1: - s = '0' + s - arr.append(s) -revision = string.join(arr, '.') +# This is old code that adds an initial "0" to revision numbers < 10. +#a = string.split(revision, '.') +#arr = [a[0]] +#for s in a[1:]: +# if len(s) == 1: +# s = '0' + s +# arr.append(s) +#revision = string.join(arr, '.') # Here's how we'd turn the calculated $revision into our package $version. # This makes it difficult to coordinate with other files (debian/changelog |