diff options
-rw-r--r-- | anki-card-template/makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/anki-card-template/makefile b/anki-card-template/makefile index c9a5ce7..013acb6 100644 --- a/anki-card-template/makefile +++ b/anki-card-template/makefile @@ -1,7 +1,7 @@ all: back-template.html front-template.html .PRECIOUS: card.min.js card.min.css -.PHONY: clean +.PHONY: clean release include ../common.mk @@ -10,3 +10,6 @@ front-template.html: card.min.js card.min.css template.m4 clean: $(RM) back-template.html front-template.html card.min.js card.min.css + +release: back-template.html front-template.html + gh release create --latest -t "card template `git describe --tags`" `git describe --tags` $^ |