Commit Graph

8 Commits

Author SHA1 Message Date
Tony Park
3361a38108 fix(ci): add npm registry auth to release publish job (#319)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 22:02:20 -07:00
Trevin Chow
a7d6e3fbba fix: enable release-please labeling so it can find its own PRs
With skip-labeling: true, release-please couldn't find its own PRs
on subsequent runs (it searches by the autorelease: pending label).
This prevented it from updating the PR body when new commits landed.
2026-03-18 02:11:32 -07:00
Trevin Chow
178d6ec282 fix: remove close-stale-PR step that broke release creation
Closing the release PR before release-please runs prevented
release-please from recognizing the PR on merge, so it never created
GitHub Releases or tags. The close-reopen approach is incompatible
with release-please's PR tracking.

Keep cancel-in-progress: true for rapid-succession merges and the
release-merge detection for skipping validate. Accept that the PR
body may be stale -- GitHub Releases get correct changelogs at merge
time regardless.
2026-03-18 02:02:30 -07:00
Trevin Chow
6af241e9b5 fix: skip validate and stale-close on release PR merges
When a release PR merges, the validate step would fail on version drift
that the release PR itself introduced, blocking release-please from
creating tags and GitHub Releases. Detect release PR merges by commit
message prefix and skip validate + stale-close steps so release-please
runs unimpeded.
2026-03-18 01:48:13 -07:00
Trevin Chow
9de830aa5b fix: prevent stale release PR body by closing before regeneration
release-please skips updating the PR body when it finds an existing PR,
causing the changelog to miss commits that landed after the PR was
created. Fix by closing the stale PR before release-please runs so it
always creates a fresh PR with the full changelog.

Also set cancel-in-progress: true so rapid successive merges don't
race to create the PR with partial commit history.
2026-03-18 01:28:09 -07:00
Trevin Chow
51f906c9ff fix: enforce release metadata consistency (#297) 2026-03-17 19:17:25 -07:00
Trevin Chow
78971c9027 fix: make GitHub releases canonical for release-please (#295) 2026-03-17 18:40:51 -07:00
Trevin Chow
f47f829d81 feat: migrate repo releases to manual release-please (#293) 2026-03-17 17:58:13 -07:00