generated from ik-serverless/serverless-blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (14 loc) · 524 Bytes
/
Makefile
File metadata and controls
20 lines (14 loc) · 524 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.EXPORT_ALL_VARIABLES:
.PHONY: pre-commit changelog release
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
hooks: ## Commit hooks setup
@pre-commit install
@pre-commit gc
@pre-commit autoupdate
validate: ## Validate with pre-commit hooks
@pre-commit run --all-files
changelog: ## Update changelog
git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o`
release: ## Create release version
semtag final -s minor