Skip to content

Commit b52728e

Browse files
author
Dalton
committed
AUTH-3021 fixed the git version call by using the older flag
1 parent 8eeb452 commit b52728e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

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

0 commit comments

Comments
 (0)