mirror of
https://github.com/containrrr/watchtower.git
synced 2024-12-12 09:04:17 +02:00
add version info to goreleasers ldflags
This commit is contained in:
parent
69b7480b4d
commit
fac88f9cd2
@ -9,6 +9,9 @@ build:
|
||||
- 386
|
||||
- arm
|
||||
- arm64
|
||||
ldflags:
|
||||
- -s -w -X main.build={{.Version}} -X github.com/containrrr/watchtower/cmd.version={{.Version}}
|
||||
- ./usemsan=-msan
|
||||
archives:
|
||||
-
|
||||
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
|
||||
|
Loading…
Reference in New Issue
Block a user