]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build.py: Tag new version (instead of current one).
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Tue, 26 Aug 2014 12:40:59 +0000 (14:40 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Tue, 26 Aug 2014 12:40:59 +0000 (14:40 +0200)
debian_build.py

index 846b9a8a4c0dadf31677355193e2c35538f73bbd..c55565355c81748e836682f8a367f1e69a30026f 100755 (executable)
@@ -310,7 +310,7 @@ def main():
         additional_repos = []
 
         # replace valid debian version chars that are invalid for git tagging
-        new_tag = curr_version.replace('~', '_').replace(':', ',')
+        new_tag = new_version.replace('~', '_').replace(':', ',')
         # .. only take care of changelog automation if we want it to
         if repo_name in AUTO_CHANGELOG_REPONAMES or ENV.get('AUTO_CHANGELOG') == "yes":
             do_autoincrement = True