From 92c3a7e6a550f71e467985dc17ec469aade65708 Mon Sep 17 00:00:00 2001 From: William Petit Date: Wed, 23 Aug 2023 15:40:36 -0600 Subject: [PATCH] chore: prune local tags before generating changelog --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index af67bad..9179f87 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,6 @@ MKT_GITEA_RELEASE_PROJECT ?= mktools .PHONY: release release: git tag $(MKT_PROJECT_VERSION) - git tag $(MKT_PROJECT_SHORT_VERSION) git push --tags $(MAKE) update-changelog $(MAKE) \ @@ -32,10 +31,11 @@ update-changelog: $(MAKE) changelog git add CHANGELOG.md git commit -m "chore: update changelog" - git push --tags + git push .PHONY: changelog changelog: + git fetch --prune-tags $(MAKE) MKT_GIT_CHGLOG_PROJECT_ORG=Cadoles MKT_GIT_CHGLOG_PROJECT_NAME=mktools mkt-changelog include tasks/*.mk \ No newline at end of file