Skip to content

Commit

Permalink
Add commit hash to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Oct 24, 2023
1 parent fd0d314 commit bb11228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pyproject
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ build: clean venv
.PHONY: changelog.md
changelog.md:
$(eval PREV_RELEASE=$(shell git tag -l v* | tail -1))
$(shell git log --pretty="- %s" $(PREV_RELEASE)..HEAD --grep "^Changed:" --grep "^Fixed:" --grep "^Added:" --grep "^Changed:" --grep "^Removed:" --output=changelog.md)
$(shell git log --pretty="- %s (%h)" $(PREV_RELEASE)..HEAD --grep "^Changed:" --grep "^Fixed:" --grep "^Added:" --grep "^Changed:" --grep "^Removed:" --output=changelog.md)

# requires /.github/workflows/release.yml
.PHONY: release
Expand Down

0 comments on commit bb11228

Please sign in to comment.