Generate a changelog for a release
Generate a changelog entry for the CHANGELOG.md file by following these steps:
Run git --no-pager log $(git describe --tags --abbrev=0)..HEAD --oneline --no-decorate --first-parent --no-merges) to get the list of commits.
For each commit:
(#13331))[6.x] prefix from the message&) as they interleave stdout unpredictably. Use: for pr in <numbers>; do echo -n "PR $pr: "; gh pr view $pr --json author --jq '.author.login'; doneSkip commits that are:
Do not skip dependency bumps from dependabot.
Format: - Description [#NUMBER](https://github.com/statamic/cms/issues/NUMBER) by @username
## X.Y.Z (YYYY-MM-DD)
### What's new
- Entry 1
- Entry 2
### What's fixed
- Entry 1
- Entry 2
Insert the new release entry at the top of the file, after the # Release Notes heading.
Inform the user of anything noteworthy, or any liberties you took. e.g. "I skipped PR 123 because of reason" or "I moved PR 123 to the bottom of the list"
You do not need to list everything. Only the noteworthy bits. The user will be able to inspect the diff of the changelog to see what you're adding.