Skip to content

Commit

Permalink
misc: Improve generated changelog (#765)
Browse files Browse the repository at this point in the history
- Ignore misc commits
- Ignore typo commits
- Group features, bug fixes, key dependency changes, and other changes

Signed-off-by: James Alseth <[email protected]>
  • Loading branch information
jalseth authored Dec 27, 2022
1 parent 04c24a0 commit df039fe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,27 @@ checksum:
name_template: 'checksums.txt'

changelog:
use: github
groups:
- title: New Features
regexp: '^feat(ure)?:'
order: 0
- title: Bug Fixes
regexp: '^(bug|fix):'
order: 1
- title: OPA Changes
regexp: '(?i)bump (opa|github.com/open-policy-agent/opa)'
order: 5
- title: Other Changes
order: 999
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^misc:'
- '^typo:'
- '(?i) typo( |\.|\r?\n)'

# Publishes the deb and rpm files to the GitHub releases page.
nfpms:
Expand Down

0 comments on commit df039fe

Please sign in to comment.