From 508a87b8d088661546f5cafb7dd13f2fd649fdff Mon Sep 17 00:00:00 2001 From: Mikhail Shamne Date: Sat, 19 Sep 2026 02:32:13 +0300 Subject: [PATCH] release: group the changelog and drop commit hashes GoReleaser printed the full SHA in front of every line. Group entries into features, fixes and other changes, and render just the subject. --- .goreleaser.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b8f1f6b..21adaae 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -50,12 +50,24 @@ snapshot: changelog: use: git sort: asc + # Commit hash is noise; the subject already links through to the commit. + format: '{{ .Message }}' + groups: + - title: Features + regexp: '^.*?feat(\(.+\))?!?:.+$' + order: 0 + - title: Fixes + regexp: '^.*?fix(\(.+\))?!?:.+$' + order: 1 + - title: Other changes + order: 999 filters: exclude: - '^docs:' - '^ci:' - '^test:' - '^chore' + - '^release \d' release: draft: false