ci: improved autogenerated changelog on releases by categorizing the changes

This commit is contained in:
Felipe M. 2024-02-06 18:55:34 +01:00
parent 82aa1e5080
commit 09bc9b4786
No known key found for this signature in database
GPG key ID: CCFBC5637D4000A8

View file

@ -39,10 +39,33 @@ snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 1
- title: "Performance"
regexp: '^.*?perf(\([[:word:]]+\))??!?:.+$'
order: 2
- title: API
regexp: '^.*?api(\([[:word:]]+\))??!?:.+$'
order: 3
- title: Documentation
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 4
- title: "Tests"
regexp: '^.*?test(\([[:word:]]+\))??!?:.+$'
order: 5
- title: CI and Delivery
regexp: '^.*?ci(\([[:word:]]+\))??!?:.+$'
order: 6
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- '^test:'
- "^deps:"
- "^chore\\(deps\\):"
release:
prerelease: auto