summaryrefslogtreecommitdiffstats
path: root/tools/export.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/export.py')
-rwxr-xr-xtools/export.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/export.py b/tools/export.py
index 62e13a8a3..2885625d5 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -50,7 +50,7 @@ except NameError:
name = input("Your name: ")
email = input("Your email: ")
newchangelog = \
-"""bcfg2 (%s-0.0%s) unstable; urgency=low
+"""bcfg2 (%s%s-0.0) unstable; urgency=low
* New upstream release
@@ -89,7 +89,7 @@ find_and_replace('src/lib/Server/Reports/reports/templates/base.html',
find_and_replace('doc/conf.py', 'version =',
'version = \'%s\'\n' % majorver[0:3], startswith=True)
find_and_replace('doc/conf.py', 'release =',
- 'release = \'%s\'\n' % (majorver + minorver), startswith=True)
+ 'release = \'%s\'\n' % (majorver), startswith=True)
# tag the release
#FIXME: do this using python-dulwich