mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Document structure of upgrade-zulip-stage-2 more clearly.
This commit is contained in:
@@ -50,9 +50,11 @@ try:
|
||||
unpack_zulip = os.path.realpath(os.path.join(os.path.dirname(__file__), 'unpack-zulip'))
|
||||
deploy_path = subprocess.check_output([unpack_zulip, tarball_path], preexec_fn=su_to_zulip)
|
||||
|
||||
# Chdir to deploy_path and then run upgrade-zulip-stage-2 from the
|
||||
# new version of Zulip (having the upgrade logic run from the new
|
||||
# version is much better for fixing bugs in the upgrade process).
|
||||
deploy_path = deploy_path.strip()
|
||||
os.chdir(deploy_path)
|
||||
|
||||
subprocess.check_call(["./scripts/lib/upgrade-zulip-stage-2", deploy_path])
|
||||
|
||||
logging.info("Deployment complete")
|
||||
|
||||
Reference in New Issue
Block a user