chore: prune local tags before generating changelog

This commit is contained in:
wpetit 2023-08-23 15:40:36 -06:00
parent 56d4a9f77e
commit 92c3a7e6a5
1 changed files with 2 additions and 2 deletions

View File

@ -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