Files
pnpm/.github
Zoltan KochanandClaude Opus 5 a390e363b8 fix: include sponsors in v12 release descriptions (#14118)
* fix: include sponsors in v12 release descriptions

The v11 release description comes from `pn make-release-description`, which
appends the sponsors table. v12 builds its description in the workflow by
dumping the pending changelog, so its release pages never showed sponsors.

Adds .github/release-sponsors.md — a checked-in fragment carrying the same
platinum and gold tables with release_notes attribution — and cats it onto
RELEASE.md in the Rust release job. A missing fragment warns rather than
fails; the sponsors table is not worth losing a release over.

The fragment is regenerated from pnpm.io's sponsors.json alongside the
READMEs and the v11 release text.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* refactor: read the sponsors table from the shared fragment in v11 too

make-release-description inlined its own copy of the sponsors tables — 109
lines of HTML that had to be regenerated in lockstep with the READMEs. Now
that v12 reads a fragment, v11 can read the same one.

getChangelogEntry goes back to returning just the changelog section, and
writeReleaseText appends the fragment. A missing fragment warns and writes
the description without the table, matching the v12 job: the workflow falls
back to a diagnostic description when this script fails, so throwing here
would trade a missing sponsors table for missing release notes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* test: assert the sponsors fragment is appended exactly once

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 00:42:22 +02:00
..
2025-06-17 12:51:44 +02:00