feat: Add version output
This commit is contained in:
parent
ee45d29e6f
commit
55bfb36522
5 changed files with 27 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue