improvement: automate changelog management (#786)

This commit is contained in:
Thierno IB. BARRY authored and GitHub committed 2020-03-17 14:22:22 +01:00
1 parent ca3d1e1199
commit 9fb1a20d82
11 files changed
+863 -58

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
.PHONY: changelog release
SEMTAG=tools/semtag
CHANGELOG_FILE=CHANGELOG.md
TAG_QUERY=v11.0.0..
scope ?= "minor"
changelog-unrelease:
git-chglog -o $(CHANGELOG_FILE) $(TAG_QUERY)
changelog:
git-chglog -o $(CHANGELOG_FILE) --next-tag `$(SEMTAG) final -s $(scope) -o -f` $(TAG_QUERY)
release:
$(SEMTAG) final -s $(scope)