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

Fetch tags during docker build

This commit is contained in:
James Hillyerd
2017-12-17 21:29:57 -08:00
parent 0f67e51e56
commit 28b40eb94d

View File

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