buildpackage: Also print tag name when tagging the Debian release
authorGuido Günther <agx@sigxcpu.org>
Sat, 14 Jun 2014 09:55:17 +0000 (11:55 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 14 Jun 2014 10:00:47 +0000 (12:00 +0200)
Based on a patch by Kamal Mostafa

gbp/scripts/buildpackage.py

index 54e66bd22ce95150c5f7432b717ba378f1a97f21..0ef6e9c7b2e6c7af8f82f9289f70b61a1ead7835 100755 (executable)
@@ -597,8 +597,8 @@ def main(argv):
                      extra_env={'GBP_CHANGES_FILE': changes,
                                 'GBP_BUILD_DIR': build_dir})()
         if options.tag or options.tag_only:
-            gbp.log.info("Tagging %s" % source.changelog.version)
             tag = repo.version_to_tag(options.debian_tag, source.changelog.version)
+            gbp.log.info("Tagging %s as %s" % (source.changelog.version, tag))
             if options.retag and repo.has_tag(tag):
                 repo.delete_tag(tag)
             repo.create_tag(name=tag,