diff --git a/Makefile b/Makefile index 1ff276cf1..16dca0e03 100644 --- a/Makefile +++ b/Makefile @@ -75,8 +75,6 @@ set-hmc-version: yq .PHONY: test-hmc-version test-hmc-version: yq @TEMPLATE_DIR=templates/provider/hmc-templates/files/templates/*; \ - git checkout templates/cluster/; \ - git checkout templates/provider/hmc-templates/files/templates/; \ cutversion=$$(echo $(VERSION) | sed "s/.*-//g"); \ for template in $$TEMPLATE_DIR; do \ if [ $$(yq eval '.kind' $$template) = 'ClusterTemplate' ]; then \ @@ -90,16 +88,6 @@ test-hmc-version: yq sed -i "s/version:.*[^$$cutversion]*./&-$$cutversion/g" "$$chart"; \ done -#@RELEASE_FILE=templates/provider/hmc-templates/files/release.bak; \ -#cutversion=$$(echo $(VERSION) | sed "s/.*-//g"); \ -#for provider in $$(yq eval -o=json $$RELEASE_FILE | jq -cr '.spec.providers[].template'); do \ -# if echo "$$provider" | grep -q -v "projectsveltos"; then \ -# echo $$provider-$$cutversion; \ -# sed -i "s/template:.*$$provider/&-$$cutversion/g" $$RELEASE_FILE; \ -# fi; \ -# done -#@VERSION=$(VERSION) hack/templateversions.sh - .PHONY: hmc-chart-release hmc-chart-release: set-hmc-version templates-generate ## Generate hmc helm chart