chore: setup git-cliff
This commit is contained in:
parent
e5c86a1528
commit
fd15ed0b11
2 changed files with 93 additions and 0 deletions
7
Makefile
7
Makefile
|
|
@ -5,3 +5,10 @@ GOFLAGS = -trimpath -ldflags="-s -w"
|
|||
|
||||
tetris :
|
||||
$(GO) build $(GOFLAGS) tetris.go
|
||||
|
||||
release : NEXT_VER = $(shell git-cliff --bumped-version)
|
||||
release :
|
||||
git-cliff --bump -o CHANGELOG.md
|
||||
git add CHANGELOG.md
|
||||
git commit -m "chore(version): Bump to $(NEXT_VER)"
|
||||
git tag $(NEXT_VER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue