From e5cf3b5af8172aefd257470eab6da3b6e3086958 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Fri, 21 Jun 2013 17:32:48 +0200 Subject: [PATCH] debian_build: show more details of your tag checks --- debian_build.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5