Fix version/tailscale-version.sh for tagged OSS versions

release-branch/1.48
Andrew Lytvynov 1 year ago
parent 84db691377
commit 388b71affe
No known key found for this signature in database

@ -11,7 +11,7 @@ set -euo pipefail
go_list=$(go list -m tailscale.com)
# go list outputs `tailscale.com <version>`. Extract the version.
mod_version=${go_list#tailscale.com}
mod_version=${go_list#tailscale.com }
if [ -z "$mod_version" ]; then
echo >&2 "no version reported by go list -m tailscale.com: $go_list"

Loading…
Cancel
Save