mirror of https://github.com/zulip/zulip.git
Run upgrade-zulip-stage-2 from an absolute path.
This should make it more obvious in tracebacks that we are running the script from the version of Zulip we're upgrading to, not the old version.
This commit is contained in:
parent
52d0423591
commit
c101bf663d
|
@ -55,7 +55,7 @@ try:
|
|||
# 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])
|
||||
subprocess.check_call([os.path.abspath("./scripts/lib/upgrade-zulip-stage-2"), deploy_path])
|
||||
|
||||
logging.info("Deployment complete")
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue