mirror of https://github.com/zulip/zulip.git
upgrade: Reorder steps slightly for clarity.
This commit is contained in:
parent
5002d9ecb9
commit
1c7054e7e5
|
@ -57,13 +57,13 @@ try:
|
|||
subprocess.check_call(["git", "clone", "-q", "-b", refname, LOCAL_GIT_CACHE_DIR, deploy_path],
|
||||
stdout=open('/dev/null', 'w'),
|
||||
preexec_fn=su_to_zulip)
|
||||
|
||||
subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "next")])
|
||||
os.chdir(deploy_path)
|
||||
|
||||
subprocess.check_call(["ln", "-nsf", "/etc/zulip/settings.py",
|
||||
os.path.join(deploy_path, "zproject/prod_settings.py")])
|
||||
|
||||
subprocess.check_call(["ln", '-nsf', deploy_path, os.path.join(DEPLOYMENTS_DIR, "next")])
|
||||
|
||||
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
|
||||
deploy_path, "--from-git"] + deploy_options)
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue