mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
add version info to goreleasers ldflags
This commit is contained in:
parent
69b7480b4d
commit
fac88f9cd2
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue