Skip to content

Commit ff094da

Browse files
authored
Merge pull request #269 from weizhouapache/fix-release-templates
Makefile: Fix release-templates
2 parents b0d2c9d + b27d1f7 commit ff094da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ clean: ## Cleans up everything.
310310
rm -rf $(TOOLS_BIN_DIR)
311311
rm -rf cluster-api
312312
rm -rf test/e2e/data/infrastructure-cloudstack/*/*yaml
313+
rm -rf config/.flag.mk config/.flag-test.mk .dockerflag.mk
313314

314315
##@ Release
315316
## --------------------------------------
@@ -344,7 +345,8 @@ release-alias-tag: # Adds the tag to the last build tag.
344345
gcloud container images add-tag -q $(CONTROLLER_IMG):$(TAG) $(CONTROLLER_IMG):$(RELEASE_ALIAS_TAG)
345346

346347
.PHONY: release-templates
347-
release-templates: $(RELEASE_DIR) ## Generate release templates
348+
release-templates: ## Generate release templates
349+
@mkdir -p $(RELEASE_DIR)
348350
cp templates/cluster-template*.yaml $(RELEASE_DIR)/
349351

350352
.PHONY: upload-staging-artifacts

0 commit comments

Comments
 (0)