name: release-notes description: Generate release notes from git log between tags
Generate release notes for the next release.
- Run
git tag --sort=-v:refname | head -5to find recent tags - Run
git log <last-tag>..HEAD --onelineto get commits since last release - Group commits by type (feat, fix, docs, style, refactor, test, chore) based on conventional commit prefixes
- Output a markdown changelog:
- New Features — feat: commits
- Bug Fixes — fix: commits
- Other Changes — everything else
- Skip merge commits and CI-only changes