From 5970899029d49e23cc924065385e2ec8f1274a0b Mon Sep 17 00:00:00 2001 From: Mike Dame Date: Tue, 28 Jul 2020 10:59:27 -0400 Subject: [PATCH] Update version parsing to exclude helm-chart tags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 090ae539a..d90c2bff4 100644 --- a/Makefile +++ b/Makefile @@ -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