Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(release): credit commit authors in release notes (MUL-9243) (#10587)

Bohan Jiangd434f6031f04
diff --git a/.github/RELEASING.md b/.github/RELEASING.md
index 29a7e1d343..93e9328be0 100644
--- a/.github/RELEASING.md
+++ b/.github/RELEASING.md
@@ -10,6 +10,12 @@ formulae, and container images.
The verification job runs the Go tests and `govulncheck` before any publishing
job starts. The vulnerability scan is fail-closed by default.
+Release notes use GoReleaser's GitHub changelog to credit commit authors and
+recognized co-authors between the previous and current tags. Keep all commits,
+including documentation, tests, and chores, so their authors are credited too.
+Commit-subject `@` characters are separated from the following text with an HTML
+comment; only the generated author mentions populate GitHub's Contributors list.
+
CI and release jobs require Go `~1.27.4`: at least 1.27.4, while accepting
newer 1.27 patches. This security floor is independent of the development
minimum in `server/go.mod`. A plain `1.27.x` can resolve to an older patch
diff --git a/.goreleaser.yml b/.goreleaser.yml
index fd1dde4a27..c581e2f736 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -64,12 +64,11 @@ checksum:
name_template: "checksums.txt"
changelog:
+ use: github
+ # Only author logins should create contributor mentions, not product syntax
+ # such as @all in commit subjects. Keep every commit so all authors get credit.
+ format: '{{ .SHA }} {{ replace .Message "@" "@<!-- -->" }}{{ if .Logins }} ({{ .Logins | englishJoin }}){{ end }}'
sort: asc
- filters:
- exclude:
- - "^docs:"
- - "^test:"
- - "^chore:"
brews:
- name: multica