From: Mathias Klette Date: Fri, 21 Jun 2013 15:32:48 +0000 (+0200) Subject: debian_build: show more details of your tag checks X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e5cf3b5af8172aefd257470eab6da3b6e3086958;p=profitbricks%2Fjenkins-build-scripts.git debian_build: show more details of your tag checks --- diff --git a/debian_build.py b/debian_build.py index 2e7af6a..9d85c1d 100755 --- a/debian_build.py +++ b/debian_build.py @@ -197,10 +197,16 @@ if __name__ == '__main__': if len(remote_tag) > 0: # FIXME: .id attribute but avl. in wheezy based git lib if remote_tag[0].commit.id == curr_commit_id: - logger.debug('Tag was already created for this commit.') + logger.debug('Tag {name} was already created for commit {sha}.'.format( + name=remote_tag[0].name, + sha=remote_tag[0].commit.id[0:7], + )) do_tagging = False else: - logger.error('Tag was already created for another commit.') + logger.error('Tag {name} was already created for commit {sha}.'.format( + name=remote_tag[0].name, + sha=remote_tag[0].commit.id[0:7], + )) exit_error() else: do_tagging = True