Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
install: Write out a zulip-git-version upon install.
Alex Vandiverc815dba36827
diff --git a/scripts/lib/install b/scripts/lib/installindex 3c48e7c04e7..e2b2ffcccec 100755--- a/scripts/lib/install+++ b/scripts/lib/install@@ -539,6 +539,10 @@ mkdir -p "$deploy_path"/prod-static/servecp -rT "$deploy_path"/prod-static/serve /home/zulip/prod-staticchown -R zulip:zulip /home/zulip /var/log/zulip /etc/zulip/settings.py+if ! [ -e /home/zulip/deployments/current/zulip-git-version ]; then+ su zulip -c 'cd /home/zulip/deployments/current && ./scripts/lib/update-git-upstream && ./tools/cache-zulip-git-version'+fi+if ! [ -e "/home/zulip/prod-static/generated" ]; then# If we're installing from a Git checkout, we need to run# `tools/update-prod-static` in order to build the static