From fd016ecd25004936e324e5d899b07e1813d994c0 Mon Sep 17 00:00:00 2001 From: Andrei Pavlov Date: Sat, 19 Oct 2024 00:17:54 +0700 Subject: [PATCH] Fix version trimming in Makefile Signed-off-by: Andrei Pavlov --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9222b7c1b..f09b3be96 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ NAMESPACE ?= hmc-system -VERSION ?= $(patsubst v%,%,$(shell git describe --tags --always)) +VERSION ?= $(shell git describe --tags --always) +VERSION := $(patsubst v%,%,$(VERSION)) FQDN_VERSION = $(subst .,-,$(VERSION)) # Image URL to use all building/pushing image targets IMG ?= hmc/controller:latest