mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
improvement: automate changelog management (#786)
This commit is contained in:
committed by
GitHub
parent
ca3d1e1199
commit
9fb1a20d82
17
Makefile
Normal file
17
Makefile
Normal 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)
|
||||
Reference in New Issue
Block a user