Skip to content

Commit 3a8eda3

Browse files
authored
fix(release): format GoReleaser changelog (#1879)
1 parent 6ca54e5 commit 3a8eda3

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,22 @@ checksum:
9898

9999
changelog:
100100
sort: asc
101+
# Keep tagged and nightly releases independent of remote compare APIs.
102+
use: git
101103
filters:
102104
exclude:
103-
- "^docs:"
104-
- "^chore:"
105-
- "^ci:"
105+
- "^docs(\\([^)]*\\))?!?:"
106+
- "^chore(\\([^)]*\\))?!?:"
107+
- "^ci(\\([^)]*\\))?!?:"
108+
groups:
109+
- title: "New Features"
110+
regexp: "^.*feat(\\([^)]*\\))?!?:.*$"
111+
order: 0
112+
- title: "Bug fixes"
113+
regexp: "^.*fix(\\([^)]*\\))?!?:.*$"
114+
order: 10
115+
- title: "Other work"
116+
order: 999
106117

107118
dockers:
108119
- image_templates: ["{{ .Env.IMAGE_REPOSITORY }}:{{ if not .IsNightly }}v{{ end }}{{ .Version }}-amd64"]

0 commit comments

Comments
 (0)