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
|
.PHONY: release
|
||||||
release:
|
release:
|
||||||
git tag $(MKT_PROJECT_VERSION)
|
git tag $(MKT_PROJECT_VERSION)
|
||||||
git tag $(MKT_PROJECT_SHORT_VERSION)
|
|
||||||
git push --tags
|
git push --tags
|
||||||
$(MAKE) update-changelog
|
$(MAKE) update-changelog
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
|
@ -32,10 +31,11 @@ update-changelog:
|
||||||
$(MAKE) changelog
|
$(MAKE) changelog
|
||||||
git add CHANGELOG.md
|
git add CHANGELOG.md
|
||||||
git commit -m "chore: update changelog"
|
git commit -m "chore: update changelog"
|
||||||
git push --tags
|
git push
|
||||||
|
|
||||||
.PHONY: changelog
|
.PHONY: changelog
|
||||||
changelog:
|
changelog:
|
||||||
|
git fetch --prune-tags
|
||||||
$(MAKE) MKT_GIT_CHGLOG_PROJECT_ORG=Cadoles MKT_GIT_CHGLOG_PROJECT_NAME=mktools mkt-changelog
|
$(MAKE) MKT_GIT_CHGLOG_PROJECT_ORG=Cadoles MKT_GIT_CHGLOG_PROJECT_NAME=mktools mkt-changelog
|
||||||
|
|
||||||
include tasks/*.mk
|
include tasks/*.mk
|
Loading…
Reference in New Issue