summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-06-18 22:39:00 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-06-18 22:39:00 -0500
commit0f57f538ddb1020c98a68e79dc783a3a8a15f029 (patch)
tree926a7b759da1680fef73fc5da8a4226c7160edf1
parentd34011b239c50e8f9f7f4914b43b9adff9e3fb73 (diff)
downloadbcfg2-0f57f538ddb1020c98a68e79dc783a3a8a15f029.tar.gz
bcfg2-0f57f538ddb1020c98a68e79dc783a3a8a15f029.tar.bz2
bcfg2-0f57f538ddb1020c98a68e79dc783a3a8a15f029.zip
export.py: Fix version in debian changelog and docs
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-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