Explorar o código

feature: Changlog format now groups issues

jamesread %!s(int64=3) %!d(string=hai) anos
pai
achega
e318084300
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      .goreleaser.yml

+ 12 - 0
.goreleaser.yml

@@ -42,6 +42,18 @@ snapshot:
   name_template: "{{ .Branch }}-{{ .ShortCommit }}"
 changelog:
   sort: asc
+  groups:
+    - title: 'Security'
+      regexp: '^.*?security(\([[:word:]]+\))??!?:.+$'
+      order: 0
+    - title: 'Features'
+      regexp: '^.*?feature(\([[:word:]]+\))??!?:.+$'
+      order: 1
+    - title: 'Bug fixes'
+      regexp: '^.*?bugfix(\([[:word:]]+\))??!?:.+$'
+      order: 2
+    - title: Others
+      order: 999
   filters:
     exclude:
       - '^docs:'