cli: use gobuild version handling (#2770)
This commit is contained in:
parent
ee0ef396a2
commit
3950f8f171
5 changed files with 89 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue