From f4705330eade92eab8033f092e39091683dd02dc Mon Sep 17 00:00:00 2001 From: Venkat Ramaraju Date: Mon, 9 May 2022 08:24:03 -0700 Subject: [PATCH] fix Signed-off-by: Venkat Ramaraju --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b0b72141fc..d9425a73afa 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SHELL = /bin/bash # version is moved to a separate repo and release process. export IMAGE_VERSION = v1.20.0 # Build-time variables to inject into binaries -export SIMPLE_VERSION = $(shell (test "$(shell git describe)" = "$(shell git describe --abbrev=0)" && echo $(shell git describe)) || echo $(shell git describe --abbrev=0)+git) +export SIMPLE_VERSION = $(shell (test "$(shell git describe --tags)" = "$(shell git describe --tags --abbrev=0)" && echo $(shell git describe --tags)) || echo $(shell git describe --tags --abbrev=0)+git) export GIT_VERSION = $(shell git describe --dirty --tags --always) export GIT_COMMIT = $(shell git rev-parse HEAD) export K8S_VERSION = 1.23