Skip to content

Commit

Permalink
Strip leading v in VERSION
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Pavlov <[email protected]>
  • Loading branch information
Kshatrix committed Oct 17, 2024
1 parent 49c8c81 commit 31cc845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAMESPACE ?= hmc-system
VERSION ?= $(shell git describe --tags --always)
FQDN_VERSION = $(patsubst v%,%,$(subst .,-, $(VERSION)))
VERSION ?= $(patsubst v%,%,$(shell git describe --tags --always))
FQDN_VERSION = $(subst .,-,$(VERSION))
# Image URL to use all building/pushing image targets
IMG ?= hmc/controller:latest
IMG_REPO = $(shell echo $(IMG) | cut -d: -f1)
Expand Down
2 changes: 1 addition & 1 deletion templates/provider/hmc-templates/files/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
annotations:
helm.sh/resource-policy: keep
spec:
version: v0.0.2
version: 0.0.2
hmc:
template: hmc-0-0-1
capi:
Expand Down

0 comments on commit 31cc845

Please sign in to comment.