scripts: Purge old deployments on every upgrade.

Fixes: #554.
This commit is contained in:
Tim Abbott
2016-08-04 17:02:19 -07:00
parent 51f069aa18
commit 4d02c6efef
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,5 @@ try:
subprocess.check_call(["sudo", os.path.join(deploy_path, "scripts", "lib", "upgrade-zulip-stage-2"),
deploy_path, "--from-git"] + deploy_options)
subprocess.check_call(["./scripts/purge-old-deployments"])
finally:
release_deployment_lock()