update for globally accesible version number

This commit is contained in:
Matt Spurrier 2024-03-30 21:24:30 +08:00
parent ee45d29e6f
commit 9a8e1002cd
3 changed files with 13 additions and 2 deletions

View file

@ -16,11 +16,11 @@ builds:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
mod_timestamp: "{{ .CommitTimestamp }}"
ldflags:
- -s -w -X version.Version={{.Version}}
archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.