watchtower/build.sh

6 lines
173 B
Bash
Raw Permalink Normal View History

#!/bin/bash
VERSION=$(git describe --tags)
echo "Building $VERSION..."
go build -o watchtower -ldflags "-X github.com/containrrr/watchtower/internal/meta.Version=$VERSION"