chore: refine changelog categorization rules

- Update regular expressions for `feat`, `fix`, and `chore` categories in `.goreleaser.yaml`
- Remove `Refactor` category from changelog configuration
- Add `Refactor` category with updated regular expression and order to changelog configuration

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-04-02 14:19:54 +08:00
parent a11b9b9607
commit 612d5b0570
No known key found for this signature in database

View File

@ -35,17 +35,17 @@ changelog:
# Default is no groups.
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: "Bug fixes"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: "Refactor"
regexp: '^.*?refactor(\([[:word:]]+\))??!?:.+$'
order: 2
- title: "Enhancements"
regexp: '^.*?chore(\([[:word:]]+\))??!?:.+$'
regexp: "^.*chore[(\\w)]*:+.*$"
order: 2
- title: "Refactor"
regexp: "^.*refactor[(\\w)]*:+.*$"
order: 3
- title: Others
order: 999