File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ help: ## Display this help.
4646
4747# #@ Releases
4848
49+ LATEST_RELEASE_TAG := $(shell git describe --tags `git rev-list --tags --max-count=1`)
50+
4951.PHONY : release-manifests
5052release-manifests : $(KUSTOMIZE ) build-installer # # Builds the manifests to publish with a release
5153 mkdir -p $(RELEASE_DIR )
@@ -57,7 +59,7 @@ release-manifests: $(KUSTOMIZE) build-installer ## Builds the manifests to publi
5759
5860ifneq ($(CI ) ,true)
5961 # for devel purposes with local overwrite in clusterctl.yaml
60- mkdir -p infrastructure-metal-stack && cd infrastructure-metal-stack && [ ! -L "$(shell git describe --tags `git rev-list --tags --max-count=1` )" ] && ln -s ../.release $(shell git describe --tags `git rev-list --tags --max-count=1` ) || echo "devel symlink already exists"
62+ mkdir -p infrastructure-metal-stack && cd infrastructure-metal-stack && [ ! -L "$(LATEST_RELEASE_TAG )" ] && ln -s ../.release $(LATEST_RELEASE_TAG ) || echo "devel symlink already exists"
6163endif
6264
6365# #@ Development
You can’t perform that action at this time.
0 commit comments