Skip to content

Commit a356210

Browse files
committed
Add make rule for bumping the changelog
1 parent 4b30f24 commit a356210

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ MAKEFLAGS += -j$(JOBS) -Otarget
1616
VERSION != git describe --tags --all --abbrev=7 | sed 's/-/-r/'
1717
SEMVER != git describe --tags | sed 's/^v//;s/-.*//'
1818
ROCKREV = 0
19-
TAG = v$(SEMVER)
19+
TAG ?= v$(SEMVER)
2020

2121
LUAROCKS_ARGS ?= --local --tree lua_modules
2222

@@ -66,6 +66,9 @@ check:
6666
test:
6767
busted
6868

69+
CHANGELOG.md:
70+
git-cliff -p $@ -u $(if $(TAG),-t $(TAG))
71+
6972
.PHONY: force
7073
force:;
7174

0 commit comments

Comments
 (0)