mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
Fetch tags during docker build
This commit is contained in:
@@ -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)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user