From 6ea07f6f4484df16d265e3d53694f2cc932dc4db Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 28 Jan 2023 10:39:07 +0100 Subject: add `release` target to makefile for publishing to github --- anki-card-template/makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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` $^ -- cgit v1.2.3