tailscale-version.sh: adjust version format.
Use the same version number format as other platforms. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user