From: Mathias Klette Date: Wed, 26 Jun 2013 10:47:35 +0000 (+0200) Subject: debian_build: reset new_version upon auto-increment packages X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=6f332ab29bbe60d6d06c67558f911f36328b9a09;p=profitbricks%2Fjenkins-build-scripts.git debian_build: reset new_version upon auto-increment packages --- 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()