Merge "Push with --no-follow-tags"

This commit is contained in:
Zuul
2019-06-19 15:28:07 +00:00
committed by Gerrit Code Review

View File

@@ -1643,7 +1643,8 @@ def _main():
if options.custom_script: if options.custom_script:
run_custom_script("draft") run_custom_script("draft")
cmd = "git push %s HEAD:refs/%s/%s" % (remote, ref, branch) cmd = ("git push --no-follow-tags %s HEAD:refs/%s/%s" %
(remote, ref, branch))
push_options = [] push_options = []
if options.topic is not None: if options.topic is not None:
topic = options.topic topic = options.topic