diff options
-rw-r--r-- | src/lib/Server/Reports/reports/templates/base.html | 2 | ||||
-rwxr-xr-x | tools/export.py | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/Server/Reports/reports/templates/base.html b/src/lib/Server/Reports/reports/templates/base.html index 9bd9da218..a64f1c76a 100644 --- a/src/lib/Server/Reports/reports/templates/base.html +++ b/src/lib/Server/Reports/reports/templates/base.html @@ -87,7 +87,7 @@ <div style='clear:both'></div> </div><!-- document --> <div id="footer"> - <span>Bcfg2 Version 1.1.0</span> + <span>Bcfg2 Version 1.2.0pre1</span> </div> <div id="calendar_div" style='position:absolute; visibility:hidden; background-color:white; layer-background-color:white;'></div> diff --git a/tools/export.py b/tools/export.py index c64ff90a2..83f13923b 100755 --- a/tools/export.py +++ b/tools/export.py @@ -59,6 +59,11 @@ 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) +# 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: + line = line.replace(line, ' <span>Bcfg2 Version %s</span>\n' % version) + sys.stdout.write(line) # tag the release #FIXME: do this using python-dulwich |