Skip to content

Commit

Permalink
Fix pipelines #minor
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Kara <[email protected]>
  • Loading branch information
mustafaahmetkara committed Feb 27, 2024
1 parent e08fa85 commit 81b8144
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .mk/release_release.mk → .mk/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ else ifeq ($(COMMIT_TYPE),patch)
NEXT_VERSION= v$(MAJOR).$(MINOR).$(shell echo $$(($(PATCH)+1)))
endif

.PHONY: release/tag
release/tag:
.PHONY: release
release:
ifneq ($(NEXT_VERSION),)
@echo "Creating tag $(NEXT_VERSION)"
@git tag $(NEXT_VERSION)
Expand Down
3 changes: 3 additions & 0 deletions .mk/tools.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

.PHONY: tools
tools: tools/terraform tools/terragrunt tools/tflint tools/terraform_docs
13 changes: 0 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
include $(wildcard .mk/*.mk)

.PHONY: help
help: ## Provides help menu
@echo "Usage:"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) |\
awk 'BEGIN {FS = ":.*?## "}; {printf "make ${CYAN}%-30s${CNone} %s\n", $$1, $$2}'

.PHONY: tools
tools: tools/terraform tools/terragrunt tools/tflint tools/terraform_docs ## Install Required Tools

.PHONY: tag
tag: release/tag ## Generate tag from the last commit

.PHONY: release
release: release/release ## Generate release from tag

0 comments on commit 81b8144

Please sign in to comment.