Skip to content

Commit 38634ff

Browse files
committed
chore: Add convenience target to ease releases
1 parent 34f54ba commit 38634ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ check:
7373
test:
7474
busted
7575

76+
.PHONY: release
77+
release: CHANGELOG.md rockspecs/fluent-$(SEMVER)-$(ROCKREV).rockspec
78+
git add $^
79+
git commit -m "chore(release): $(SEMVER)"
80+
git tag $(TAG)
81+
7682
CHANGELOG.md:
7783
git-cliff -p $@ -u $(if $(TAG),-t $(TAG))
7884

0 commit comments

Comments
 (0)