]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fixup 8e854d0eba1fc4bdc56b234766c91930a414caa1
authorHolger Levsen <holger@layer-acht.org>
Wed, 1 Aug 2012 10:22:31 +0000 (12:22 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 1 Aug 2012 10:23:19 +0000 (12:23 +0200)
debian_build.py

index 75b256a897e83286f6cfcc625713a8047aedbea7..2940c92c8ea4ca9e14342db4c0b32a12c63695a0 100755 (executable)
@@ -527,7 +527,7 @@ if __name__ == '__main__':
         logger.debug('version: %s' %(version))
         # replace valid debian version chars that are invalid for git tagging
         version_tag = version.replace('~','_')
-        version_tag = version.replace(':',',')
+        version_tag = version_tag.replace(':',',')
         logger.debug('version_tag: %s' %(version_tag))
         cmd = ['/usr/bin/git', 'tag', version_tag]
         try: