Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade: Log the commit hash and directory when upgrading.
Alex Vandiver1d2582c89993
diff --git a/scripts/lib/upgrade-zulip-from-git b/scripts/lib/upgrade-zulip-from-gitindex d17ee9e5f85..1863df6c7c5 100755--- a/scripts/lib/upgrade-zulip-from-git+++ b/scripts/lib/upgrade-zulip-from-git@@ -90,6 +90,12 @@ try:)# Generate the deployment directory via git worktree from our local repository.+ commit_hash = subprocess.check_output(+ ["git", "rev-parse", refname],+ preexec_fn=su_to_zulip,+ text=True,+ ).strip()+ logging.info("Upgrading to %s, in %s", commit_hash, deploy_path)subprocess.check_call(["git", "worktree", "add", "--detach", deploy_path, refname],stdout=subprocess.DEVNULL,