We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a212407 commit e7bcedbCopy full SHA for e7bcedb
1 file changed
Makefile
@@ -21,6 +21,7 @@ SCREEN_WIDTH := 100
21
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
22
CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MAKEFILE_PATH))))
23
PATH := $(shell echo "$(HOME)/.rbenv/shims:$(PATH)")
24
+RULES_VERSION := $(shell cat .rules_version)
25
26
help: ## Prints help message auto-generated from the comments.
27
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@@ -43,3 +44,7 @@ update-readme: ## Generate the PDF version of the README
43
44
@open README.pdf
45
46
47
+tag: ## Tag this commit with .rules_version and push to remote
48
+ @git tag "v$(RULES_VERSION)" -f
49
+ @git push --tags -f
50
+
0 commit comments