mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
upgrade-zulip-from-git: Fix the upstream URL not be the custom remote.
This commit is contained in:
committed by
Tim Abbott
parent
d4c70319eb
commit
bad58cdca6
@@ -77,7 +77,7 @@ try:
|
||||
remotes = subprocess.check_output(["git", "remote"], preexec_fn=su_to_zulip).split(b"\n")
|
||||
if b"upstream" not in remotes:
|
||||
subprocess.check_call(
|
||||
["git", "remote", "add", "upstream", remote_url], preexec_fn=su_to_zulip
|
||||
["git", "remote", "add", "upstream", upstream_url], preexec_fn=su_to_zulip
|
||||
)
|
||||
|
||||
logging.info("Fetching the latest commits")
|
||||
|
||||
Reference in New Issue
Block a user