[chore] Hopefully final tweak to changelog generation (#3437)

This commit is contained in:
tobi 2024-10-14 16:02:16 +02:00 committed by GitHub
parent 400fd8c62b
commit 4fcea3d6ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -401,7 +401,7 @@ release:
header: |
Here's version {{ .Version }} of GoToSocial.
Please read the [migration notes](#migration-notes) carefully for instructions on how to upgrade to this version.
Please read the migration notes carefully for instructions on how to upgrade to this version.
## Release highlights
@ -502,20 +502,18 @@ release:
# https://goreleaser.com/customization/changelog/
changelog:
use: github
abbrev: 9
format: "{{ .Message }}, by {{ with .AuthorUsername }}@{{ . }}{{ else }}{{ .AuthorName }} <{{ .AuthorEmail }}>{{ end }} ({{ .SHA }})"
groups:
- title: Features and performance
regexp: '^\[(?:feature|performance).*\].*$'
regexp: '^.*\[(?:feature|performance).*\].*$'
order: 0
- title: Bug fixes
regexp: '^\[bug.*\].*$'
regexp: '^.*\[bug.*\].*$'
order: 1
- title: Chores & version bumps
regexp: '^\[chore.*\].*$'
regexp: '^.*\[chore.*\].*$'
order: 2
- title: Documentation
regexp: '^\[doc.*\].*$'
regexp: '^.*\[doc.*\].*$'
order: 3
- title: Other
order: 999