There was an error while loading. Please reload this page.
1 parent 6211ac2 commit 96e215eCopy full SHA for 96e215e
src/env.sh
@@ -50,7 +50,7 @@ generate_env_file() {
50
if installed_from_archive; then
51
version="$(cat "../${VERSION_FILE}")"
52
else
53
- version="$(git describe --exact-match --tags HEAD)"
+ version="$(git tag | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1)"
54
fi
55
56
cat <<EOF > "${ENV_FILE}"
0 commit comments