Skip to content

Commit c435616

Browse files
committed
refactor: update changelog group titles and patterns
- Remove old changelog group titles and their corresponding regex patterns - Add new changelog group titles and regex patterns - Update order values for the changelog groups Signed-off-by: appleboy <[email protected]>
1 parent 65ea581 commit c435616

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.goreleaser.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,24 @@ changelog:
3434
#
3535
# Default is no groups.
3636
groups:
37-
- title: Dependency updates
38-
regexp: '^.*?(feat|fix|chore)\(deps\)!?:.+$'
39-
order: 300
40-
- title: "New Features"
41-
regexp: '^.*?feat(\(.+\))??!?:.+$'
42-
order: 100
43-
- title: "Security updates"
44-
regexp: '^.*?sec(\(.+\))??!?:.+$'
45-
order: 150
37+
groups:
38+
- title: Features
39+
regexp: "^.*feat[(\\w)]*:+.*$"
40+
order: 0
4641
- title: "Bug fixes"
47-
regexp: '^.*?(fix|refactor)(\(.+\))??!?:.+$'
48-
order: 200
49-
- title: "Documentation updates"
50-
regexp: ^.*?docs?(\(.+\))??!?:.+$
51-
order: 400
42+
regexp: "^.*fix[(\\w)]*:+.*$"
43+
order: 1
44+
- title: "Enhancements"
45+
regexp: "^.*chore[(\\w)]*:+.*$"
46+
order: 2
47+
- title: "Refactor"
48+
regexp: "^.*refactor[(\\w)]*:+.*$"
49+
order: 3
5250
- title: "Build process updates"
5351
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
54-
order: 400
55-
- title: Other work
56-
order: 9999
52+
order: 4
53+
- title: "Documentation updates"
54+
regexp: ^.*?docs?(\(.+\))??!?:.+$
55+
order: 4
56+
- title: Others
57+
order: 999

0 commit comments

Comments
 (0)