Skip to content

Commit 9cca74f

Browse files
committed
chore(goreleaser): update changelog configuration and filters
Enhanced changelog settings to include feature, bug fix, documentation, refactoring, and other changes categories. Updated filters to exclude merge commits.
1 parent e1a2c77 commit 9cca74f

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.goreleaser.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,30 @@ before:
1313
magex test
1414
fi"
1515
changelog:
16+
use: github
1617
sort: asc
18+
abbrev: 0
19+
format: '[`{{ slice .SHA 0 7 }}`]({{ .GitURL }}/commit/{{ .SHA }}): {{ .Message }}{{ with .AuthorUsername }} (@{{ . }}){{ end }}'
20+
groups:
21+
- title: "Features"
22+
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
23+
order: 100
24+
- title: "Bug Fixes"
25+
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
26+
order: 200
27+
- title: "Documentation"
28+
regexp: '^.*?docs?(\([[:word:]]+\))??!?:.+$'
29+
order: 300
30+
- title: "Refactoring"
31+
regexp: '^.*?refactor(\([[:word:]]+\))??!?:.+$'
32+
order: 400
33+
- title: "Other Changes"
34+
order: 9999
1735
filters:
1836
exclude:
19-
- "^.vscode:"
2037
- "^test:"
38+
- "^Merge pull request"
39+
- "^Merge branch"
2140

2241
# ---------------------------
2342
# Builder

0 commit comments

Comments
 (0)