* feat: custom user agent (#990)

* fix: move build meta to own package
  this allows it to be referenced from other packages without causing a cyclic dependency
* feat: custom user agent
This commit is contained in:
nils måsén 2021-06-11 19:23:00 +02:00 committed by GitHub
parent b196629d04
commit f508c92ae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 59 additions and 12 deletions

View file

@ -10,7 +10,7 @@ build:
- arm
- arm64
ldflags:
- -s -w -X github.com/containrrr/watchtower/cmd.version={{.Version}}
- -s -w -X github.com/containrrr/watchtower/internal/meta.Version={{.Version}}
archives:
-
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"