diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-02-01 19:20:35 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-02-01 19:20:35 -0600 |
commit | ec9ce75979b16711b2e092b20abf2806350b3ac2 (patch) | |
tree | 7c6fb57b58add0c87f21988684deb4531568567e | |
parent | 100b9fd9aad33f7c126f33db3ee9ea05aefca539 (diff) | |
download | bcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.tar.gz bcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.tar.bz2 bcfg2-ec9ce75979b16711b2e092b20abf2806350b3ac2.zip |
export.py: Update solaris package versions
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r-- | solaris/pkginfo.bcfg2 | 2 | ||||
-rw-r--r-- | solaris/pkginfo.bcfg2-server | 2 | ||||
-rwxr-xr-x | tools/export.py | 8 |
3 files changed, 10 insertions, 2 deletions
diff --git a/solaris/pkginfo.bcfg2 b/solaris/pkginfo.bcfg2 index 6e6da6d0a..8eeb29f62 100644 --- a/solaris/pkginfo.bcfg2 +++ b/solaris/pkginfo.bcfg2 @@ -1,7 +1,7 @@ PKG="SCbcfg2" NAME="bcfg2" ARCH="sparc" -VERSION="1.0.0rc1" +VERSION="1.2.0pre1" CATEGORY="application" VENDOR="Argonne National Labratory" EMAIL="bcfg-dev@mcs.anl.gov" diff --git a/solaris/pkginfo.bcfg2-server b/solaris/pkginfo.bcfg2-server index 39194611d..031d2a385 100644 --- a/solaris/pkginfo.bcfg2-server +++ b/solaris/pkginfo.bcfg2-server @@ -1,7 +1,7 @@ PKG="SCbcfg2-server" NAME="bcfg2-server" ARCH="sparc" -VERSION="1.0.0rc1" +VERSION="1.2.0pre1" CATEGORY="application" VENDOR="Argonne National Labratory" EMAIL="bcfg-dev@mcs.anl.gov" diff --git a/tools/export.py b/tools/export.py index 83f13923b..971102290 100755 --- a/tools/export.py +++ b/tools/export.py @@ -59,6 +59,14 @@ for line in fileinput.input('solaris/Makefile', inplace=1): if line.startswith('VERS='): line = line.replace(line, 'VERS=%s-1\n' % version) sys.stdout.write(line) +for line in fileinput.input('solaris/pkginfo.bcfg2', inplace=1): + if line.startswith('VERSION='): + line = line.replace(line, 'VERSION=%s\n' % version) + sys.stdout.write(line) +for line in fileinput.input('solaris/pkginfo.bcfg2-server', inplace=1): + if line.startswith('VERSION='): + line = line.replace(line, 'VERSION=%s\n' % version) + sys.stdout.write(line) # update the version in reports for line in fileinput.input('src/lib/Server/Reports/reports/templates/base.html', inplace=1): if 'Bcfg2 Version' in line: |