cli: use gobuild version handling (#2770)

This commit is contained in:
Kristoffer Dalby 2025-09-12 11:47:31 +02:00 committed by GitHub
parent ee0ef396a2
commit 3950f8f171
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 89 additions and 15 deletions

View file

@ -23,10 +23,6 @@ builds:
- linux_arm64
flags:
- -mod=readonly
ldflags:
- -s -w
- -X github.com/juanfont/headscale/hscontrol/types.Version={{ .Version }}
- -X github.com/juanfont/headscale/hscontrol/types.GitCommitHash={{ .Commit }}
tags:
- ts2019