mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-15 13:02:14 +08:00
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:
parent
a11b9b9607
commit
612d5b0570
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user