From 6f332ab29bbe60d6d06c67558f911f36328b9a09 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Wed, 26 Jun 2013 12:47:35 +0200 Subject: [PATCH] debian_build: reset new_version upon auto-increment packages --- debian_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 1bb9b75..cedce1c 100755 --- a/debian_build.py +++ b/debian_build.py @@ -396,7 +396,8 @@ if __name__ == '__main__': cl = changelog.Changelog() cl.parse_changelog(open('debian/changelog')) - new_tag = cl.full_version.replace('~', '_').replace(':', ',') + new_version = cl.full_version + new_tag = new_version.replace('~', '_').replace(':', ',') except Exception as error: logger.error('Autoincrement failed. Standard error returned:\n\n%s\n' % error.stderr, exc_info=error) exit_error() -- 2.39.5