diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-08-26 10:03:45 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-08-26 10:03:45 +0200 |
commit | 488ba325db7d467d813c4966354676e1f943988d (patch) | |
tree | 823a5894fc8fa2809c17b49b64c0a5c2459dad5a /examples | |
parent | 3528b0f3e5b9690db7b10ba1dfec82d8c69e509c (diff) |
gbp-posttag-pull: Be more verbose when pushing
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/gbp-posttag-push | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push index 483b814e..cd8968dc 100755 --- a/examples/gbp-posttag-push +++ b/examples/gbp-posttag-push @@ -132,13 +132,16 @@ def main(argv): return 0 for dest in dests: - print("Pushing %s to %s" % (env.sha1, dest)) + print("Pushing %s to %s" % (env.tag, dest)) repo.push_tag(dest, env.tag) + print("Pushing %s to %s" % (env.sha1, dest)) repo.push(dest, env.sha1, dests[dest]) if options.push_upstream and upstream_tag: + print("Pushing %s to %s" % (upstream_tag, dest)) repo.push_tag(dest, upstream_tag) if not repo.branch_contains("%s/%s" % (dest, options.upstream_branch), upstream_sha1, remote=True): + print("Pushing %s to %s" % (upstream_sha1, dest)) repo.push(dest, upstream_sha1, options.upstream_branch) print("done.") |