fix(release_updater): push: if branch is specified, remote must be specified too (#7863)
This commit is contained in:
@@ -200,8 +200,8 @@ def main():
|
|||||||
print(LOG, "this is a dry run so nothing will be pushed")
|
print(LOG, "this is a dry run so nothing will be pushed")
|
||||||
else:
|
else:
|
||||||
subprocess.check_call(("git", "-C", port_clone_tmpdir, "push",
|
subprocess.check_call(("git", "-C", port_clone_tmpdir, "push",
|
||||||
*(("-u", "origin") if port_does_not_have_the_branch else ()),
|
*(("-u",) if port_does_not_have_the_branch else ()),
|
||||||
fmt_release(port_branch),
|
"origin", fmt_release(port_branch),
|
||||||
))
|
))
|
||||||
print(LOG, "the changes were pushed.")
|
print(LOG, "the changes were pushed.")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user