mirror of https://github.com/zulip/zulip.git
upgrade-zulip-from-git: Fix upstream URL for existing deploys.
This commit is contained in:
parent
bad58cdca6
commit
677467f040
|
@ -79,6 +79,10 @@ try:
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
["git", "remote", "add", "upstream", upstream_url], preexec_fn=su_to_zulip
|
["git", "remote", "add", "upstream", upstream_url], preexec_fn=su_to_zulip
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
subprocess.check_call(
|
||||||
|
["git", "remote", "set-url", "upstream", upstream_url], preexec_fn=su_to_zulip
|
||||||
|
)
|
||||||
|
|
||||||
logging.info("Fetching the latest commits")
|
logging.info("Fetching the latest commits")
|
||||||
subprocess.check_call(
|
subprocess.check_call(
|
||||||
|
|
Loading…
Reference in New Issue