From 0f57f538ddb1020c98a68e79dc783a3a8a15f029 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sat, 18 Jun 2011 22:39:00 -0500 Subject: export.py: Fix version in debian changelog and docs Signed-off-by: Sol Jerome --- tools/export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3-1-g7c22