Skip to content

Commit 052d49a

Browse files
committed
Update goreleaser config to customize changelog and sorting
- chore(.goreleaser.yaml): add changelog section with sorting, groups, and filters for release notes - chore(.goreleaser.yaml): configure checksum file naming template
1 parent 253e419 commit 052d49a

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎.goreleaser.yaml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,26 @@ release:
3333
replace_existing_draft: true
3434
make_latest: false
3535

36+
changelog:
37+
sort: asc
38+
use: github
39+
groups:
40+
- title: Features
41+
regexp: '^.*?feat(\(.+\))??!?:.+$'
42+
order: 0
43+
- title: Bug Fixes
44+
regexp: '^.*?fix(\(.+\))??!?:.+$'
45+
order: 1
46+
- title: Other
47+
order: 999
48+
filters:
49+
exclude:
50+
- '^chore'
51+
- '^test'
52+
- '^docs'
53+
- 'Merge pull request'
54+
- 'Merge branch'
55+
3656
checksum:
3757
name_template: "{{ .ProjectName }}-checksums.txt"
3858

0 commit comments

Comments
 (0)