Update version parsing to exclude helm-chart tags

This commit is contained in:
Mike Dame
2020-07-28 10:59:27 -04:00
parent 6e23579bd0
commit 5970899029
+1 -1
View File
@@ -15,7 +15,7 @@
.PHONY: test
# VERSION is currently based on the last commit
VERSION?=$(shell git describe --tags)
VERSION?=$(shell git describe --tags --match "v*")
COMMIT=$(shell git rev-parse HEAD)
BUILD=$(shell date +%FT%T%z)
LDFLAG_LOCATION=sigs.k8s.io/descheduler/cmd/descheduler/app