1
0
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:
Simon Aronsson 2021-03-29 18:01:05 +02:00 committed by GitHub
parent 69b7480b4d
commit fac88f9cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}}"