chore: prune local tags before generating changelog
This commit is contained in:
parent
56d4a9f77e
commit
92c3a7e6a5
4
Makefile
4
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
|
Loading…
Reference in New Issue
Block a user