]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add debug output for version_tag
authorHolger Levsen <holger@layer-acht.org>
Wed, 1 Aug 2012 10:17:20 +0000 (12:17 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 1 Aug 2012 10:23:09 +0000 (12:23 +0200)
debian_build.py

index 788d00396364c7a5fc3ea9816b683255572cae7e..75b256a897e83286f6cfcc625713a8047aedbea7 100755 (executable)
@@ -524,9 +524,11 @@ if __name__ == '__main__':
 
     # build was succesful, now let's tag it
     if GIT_BRANCH_NAME == 'master' or GIT_BRANCH_NAME.startswith('hotfix/'):
+        logger.debug('version: %s' %(version))
         # replace valid debian version chars that are invalid for git tagging
         version_tag = version.replace('~','_')
         version_tag = version.replace(':',',')
+        logger.debug('version_tag: %s' %(version_tag))
         cmd = ['/usr/bin/git', 'tag', version_tag]
         try:
             subprocess.check_call(cmd)