feat(release): generate the GitHub release body from the changelog (#2987)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Valentin Maerten
2026-08-21 15:31:52 +02:00
committed by GitHub
parent dd4463ec60
commit 30c998136d
6 changed files with 141 additions and 3 deletions

View File

@@ -46,12 +46,15 @@ jobs:
run: pnpm install
working-directory: website
- name: Generate release notes
run: go run ./cmd/release --notes > "${RUNNER_TEMP}/release-notes.md"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7
with:
distribution: goreleaser-pro
version: latest
args: release --clean --draft
args: release --clean --release-notes=${{ runner.temp }}/release-notes.md
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_GORELEASER_TOKEN: ${{secrets.GH_GORELEASER_TOKEN}}