add version info to goreleasers ldflags

pull/869/head
Simon Aronsson 4 years ago committed by GitHub
parent 69b7480b4d
commit fac88f9cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save