From: Benjamin Drung Date: Wed, 5 Mar 2014 12:34:44 +0000 (+0100) Subject: debian_build: Fix tagged_commit to tagged_commit_hexsha. X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b311cf34f74935f0c544f21b8572ceaca01a24a6;p=profitbricks%2Fjenkins-build-scripts.git debian_build: Fix tagged_commit to tagged_commit_hexsha. --- diff --git a/debian_build.py b/debian_build.py index 004c3ac..15830ce 100755 --- a/debian_build.py +++ b/debian_build.py @@ -214,7 +214,7 @@ if __name__ == '__main__': if tagged_commit_hexsha == curr_commit_hexsha: message = 'Tag {name} was already created for commit {sha}.'.format( name=remote_tag[0].name, - sha=tagged_commit[0:7], + sha=tagged_commit_hexsha[0:7], ) logger.debug(message) do_tagging = False @@ -222,7 +222,7 @@ if __name__ == '__main__': else: logger.error('Tag {name} was already created for commit {sha}.'.format( name=remote_tag[0].name, - sha=tagged_commit[0:7], + sha=tagged_commit_hexsha[0:7], )) exit_error() else: