File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ SCREEN_WIDTH := 100
2121MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST ) ) )
2222CURRENT_DIR := $(notdir $(patsubst % /,% ,$(dir $(MAKEFILE_PATH ) ) ) )
2323PATH := $(shell echo "$(HOME ) /.rbenv/shims:$(PATH ) ")
24+ RULES_VERSION := $(shell cat .rules_version)
2425
2526help : # # Prints help message auto-generated from the comments.
2627 @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
4344 @open README.pdf
4445
4546
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+
You can’t perform that action at this time.
0 commit comments