From 65d3b97a7927020d044fe57ff716b6d07529517b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 1 Aug 2012 12:17:20 +0200 Subject: [PATCH] add debug output for version_tag --- debian_build.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5