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