feat: Add version output

This commit is contained in:
HikariKnight 2024-03-30 14:45:54 +01:00
parent ee45d29e6f
commit 55bfb36522
5 changed files with 27 additions and 7 deletions

View file

@ -16,9 +16,10 @@ builds:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
ldflags:
- -s -w -X version.Version={{ .Tag }}
mod_timestamp: "{{ .CommitTimestamp }}"
archives:
@ -44,4 +45,4 @@ upx:
enabled: true
compress: best
lzma: true
brute: true
brute: true