diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-06-04 07:31:21 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-06-04 07:31:21 -0500 |
commit | 484d8100cdcdfa316cbf9568928697044cc331b8 (patch) | |
tree | daf52e08b4268a053567b059fc8adcf76ecb93ca /tools/export.py | |
parent | d071bc08bfdaf154f1691999e5f413c7a3b634af (diff) | |
parent | 35232507f6eeefecdec77842f7b12209040f7a5c (diff) | |
download | bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.tar.gz bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.tar.bz2 bcfg2-484d8100cdcdfa316cbf9568928697044cc331b8.zip |
Merge branch 'maint' of https://github.com/danfoster/bcfg2 into maint
Diffstat (limited to 'tools/export.py')
-rwxr-xr-x | tools/export.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/export.py b/tools/export.py index 0f4724e6b..5cd0d5c41 100755 --- a/tools/export.py +++ b/tools/export.py @@ -227,6 +227,15 @@ E.G. 1.2.0pre1 is a valid version. 'VERSION="%s"\n' % version, startswith=True, dryrun=options.dryrun) + # update solaris IPS version + find_and_replace('solaris-ips/MANIFEST.bcfg2.header', 'set name=pkg.fmri value="pkg://bcfg2/bcfg2@', + 'set name=pkg.fmri value="pkg://bcfg2/bcfg2@%s"' % version, + startswith=True, + dryrun=options.dryrun) + find_and_replace('solaris-ips/MANIFEST.bcfg2-server.header', 'set name=pkg.fmri value="pkg://bcfg2/bcfg2-server@', + 'set name=pkg.fmri value="pkg://bcfg2/bcfg2-server@%s"' % version, + startswith=True, + dryrun=options.dryrun) # set new version in Bcfg2/version.py find_and_replace('src/lib/Bcfg2/version.py', '__version__ =', |