AUTH-3021 fixed the git version call by using the older flag

This commit is contained in:
Dalton 2020-08-20 10:46:23 -05:00 committed by Dalton Cherry
parent 8eeb452cce
commit b52728e829
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
VERSION := $(shell git describe --tags --always --dirty="-dev" --exclude "w*")
VERSION := $(shell git describe --tags --always --dirty="-dev" --match "[0-9][0-9][0-9][0-9].*.*")
DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC')
VERSION_FLAGS := -ldflags='-X "main.Version=$(VERSION)" -X "main.BuildTime=$(DATE)"'
MSI_VERSION := $(shell git tag -l --sort=v:refname | grep "w" | tail -1 | cut -c2-)