mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
* 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:
parent
b196629d04
commit
f508c92ae0
6 changed files with 59 additions and 12 deletions
2
build.sh
2
build.sh
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
VERSION=$(git describe --tags)
|
||||
echo "Building $VERSION..."
|
||||
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/cmd.version=$VERSION"
|
||||
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/internal/meta.Version=$VERSION"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue