Skip to content

Commit

Permalink
Merge pull request #82 from stefanb/changelog-groups
Browse files Browse the repository at this point in the history
feat: Improve changelog generation
  • Loading branch information
refaktor committed Dec 23, 2023
2 parents 725fcdc + edae891 commit 4b37a31
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,24 @@ kos: # See https://goreleaser.com/customization/ko/
- linux/amd64
- linux/arm64

changelog:
changelog: # See https://goreleaser.com/customization/changelog/
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 1
- title: "Documentation"
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 2
- title: Others
order: 999

# filters:
# exclude:
# - "^docs:"
# - "^test:"

0 comments on commit 4b37a31

Please sign in to comment.