From bf613dbe4ead7359da8459d6d45e7e83d6bf0372 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 7 Dec 2020 05:45:55 -0800 Subject: [PATCH] ;tools: make tag-all -> tag, tag-project --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4782db291..45cca4350 100644 --- a/Makefile +++ b/Makefile @@ -853,13 +853,16 @@ manuals: Shake $(call def-help,manuals, regenerate and commit CLI help and manua ./Shake manuals git commit -m ";doc: regen manuals" -m "[ci skip]" hledger*/hledger*.{1,5,info,txt} hledger/Hledger/Cli/Commands/*.txt -tag-all: $(call def-help,tag-all, make git release tags and for the project and all packages ) +tag: $(call def-help,tag, make git release tags and for the project and all packages ) for p in $(PACKAGES); do make -s tag-$$p; done - git tag -fs `cat .version` -m "Release `cat .version`, https://hledger.org/release-notes.html#hledger-`cat .version | sed -e 's/\./-/g'`" + make -s tag-project tag-%: $(call def-help,tag-PKG, make a git release tag for PKG ) git tag -fs $*-`cat $*/.version` -m "Release $*-`cat $*/.version`" +tag-project: $(call def-help,tag-project, make a git release tag for the project as a whole ) + git tag -fs `cat .version` -m "Release `cat .version`, https://hledger.org/release-notes.html#hledger-`cat .version | sed -e 's/\./-/g'`" + # hackageupload-dry: \ # $(call def-help,hackageupload-dry,\ # upload all packages to hackage; dry run\