tailscale-version.sh: adjust version format.

Use the same version number format as other platforms.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
notification
Denton Gentry 3 years ago
parent 67c2869ec6
commit f25f7ecc80

@ -36,6 +36,8 @@ git fetch -q --all --tags
git checkout -q "$mod_version"
eval $(./build_dist.sh shellvars)
echo ${VERSION_SHORT}-`git describe --always --exclude "*" --dirty --abbrev=$1`
git_hash=$(git rev-parse HEAD)
short_hash=$(echo "$git_hash" | cut -c1-9)
echo ${VERSION_SHORT}-t${short_hash}
cd /tmp
rm -rf "$tailscale_clone"

Loading…
Cancel
Save