mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00

* 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
5 lines
173 B
Bash
5 lines
173 B
Bash
#!/bin/bash
|
|
|
|
VERSION=$(git describe --tags)
|
|
echo "Building $VERSION..."
|
|
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/internal/meta.Version=$VERSION"
|