Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade-zulip-from-git: Fix the upstream URL not be the custom remote.

Alex Vandiverbad58cdca6f1
diff --git a/scripts/lib/upgrade-zulip-from-git b/scripts/lib/upgrade-zulip-from-git
index 6ed4a10f5fa..5a9f4cecc17 100755
--- a/scripts/lib/upgrade-zulip-from-git
+++ b/scripts/lib/upgrade-zulip-from-git
@@ -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")