From b52728e829b9f0296f1105be9b00d22705918070 Mon Sep 17 00:00:00 2001 From: Dalton Date: Thu, 20 Aug 2020 10:46:23 -0500 Subject: [PATCH] AUTH-3021 fixed the git version call by using the older flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 444ebb7d..65664329 100644 --- a/Makefile +++ b/Makefile @@ -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-)