From a2ecb7a60e2665a66426bba84f79641f2fbf188d Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Sat, 2 Dec 2023 12:48:16 +0100 Subject: Add tag-release target --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index de2ab76..f839615 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,12 @@ update-version: @sed -i'' -E "s/(versionnumber.*)\{.*\}/\1\{${VERSION}\}/g" version.tex @sed -i'' -E "s/(versiondate.*)\{.*\}/\1\{`date '+%B%e, %Y'`\}/g" version.tex +tag-release: + @echo git add -p Makefile + @echo git add -p version.tex + @echo git commit -m "'"${OUTPUT} v${VERSION}"'" + @echo git tag -a v${VERSION} -m "'"Version ${VERSION}"'" + clean: @rm -f *.aux *.log -- cgit v1.2.3