From: Holger Levsen Date: Wed, 1 Aug 2012 10:17:20 +0000 (+0200) Subject: add debug output for version_tag X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=c01995b15f7664c3727901264c1a5a1a4d6e3a51;p=profitbricks%2Fjenkins-build-scripts.git add debug output for version_tag --- diff --git a/debian_build.py b/debian_build.py index 788d003..75b256a 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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)