Skip to content

Commit

Permalink
build: Tweak changelog format
Browse files Browse the repository at this point in the history
  • Loading branch information
deweysasser committed Nov 9, 2022
1 parent ca88614 commit 3315973
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ changelog: CHANGELOG.md
CHANGELOG.md: LAST=$(shell git tag --sort=-version:refname | tail -n -1 | head -n 1)
CHANGELOG.md: TOP=$(shell git tag --sort=-version:refname | head -n 1)
CHANGELOG.md:
(printf "# "; git tag -l -n 50 $(TOP); echo) > $@
git log --pretty="* %f (%h)" $(LAST).. >> $@
git log --pretty="* %s (%h)" $(LAST).. >> $@

hooks: .git/hooks/pre-commit

Expand Down

0 comments on commit 3315973

Please sign in to comment.