1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 18:17:03 +00:00

Fetch tags during docker build

This commit is contained in:
James Hillyerd
2017-12-17 21:29:57 -08:00
parent 10cce5c751
commit 5bca2ae738

View File

@@ -16,6 +16,7 @@ apk add --no-cache --virtual .build-deps git
# Setup
export GOBIN="$bindir"
cd "$srcdir"
git fetch -t
builddate="$(date -Iseconds)"
buildver="$(git describe --tags)"