mirror of
https://github.com/containrrr/watchtower.git
synced 2025-02-10 19:41:34 +02:00
6 lines
163 B
Bash
6 lines
163 B
Bash
#!/bin/bash
|
|
|
|
VERSION=$(git describe --tags)
|
|
echo "Building $VERSION..."
|
|
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/cmd.version=$VERSION"
|