Files
zulip/tools/cache-zulip-git-version
Anders Kaseorg 9a17d70cd7 shfmt: Reformat shell scripts with shfmt.
https://github.com/mvdan/sh

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit dfaea9df65)
2020-10-28 17:12:50 -07:00

6 lines
116 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
git describe --tags --match='[0-9]*' >zulip-git-version || true