Skip to content

fix(release): prepare release PRs after draft publication - #166

Merged
francoischalifour merged 1 commit into
mainfrom
fc/fix-release-draft-baseline
Oct 20, 2026
Merged

francoischalifour merged 1 commit into
mainfrom
fc/fix-release-draft-baseline

Conversation

@francoischalifour

Copy link
Copy Markdown
Member

What

Separate draft release creation from release PR generation. Prepare the next PR only after successful publication, and require the current manifest version's Git tag before generating PRs on ordinary pushes or recovery runs.

Why

Release Please created #164 immediately after drafting v1.13.0, before its Git tag existed. It could not resolve the manifest baseline, scanned the entire history, and proposed a spurious v1.14.0 release containing already-released changes.

Keep releases as drafts while their binaries are verified and uploaded, then generate PRs once the baseline tag is available. Missing tags defer PR generation; GitHub API failures fail the job.

Validation

  • ./scripts/verify.sh
  • actionlint .github/workflows/release-please.yml
  • Regression coverage checks the job ordering and executes the workflow's baseline guard with published tags, missing tags, and API failures.

Checklist

  • Tests added or updated
  • CHANGELOG.md updated (skipped: CI-only change)
  • Breaking change noted in commit footer (BREAKING CHANGE: …) and changelog (not applicable)

Release Please cannot resolve the manifest baseline until a draft release is
published and its Git tag exists. Creating the next PR immediately after
drafting a release scans the full history and proposes a spurious version bump.

Split release creation from PR generation, wait for successful publication,
and check the current manifest tag before generating PRs on ordinary pushes
or recovery runs. API failures remain visible rather than masquerading as
missing tags.

Verify the workflow dependency contract and execute its baseline guard
against published, missing, and failed API responses.
@francoischalifour
francoischalifour merged commit 58b23a2 into main Oct 20, 2026
15 checks passed
@francoischalifour
francoischalifour deleted the fc/fix-release-draft-baseline branch October 20, 2026 16:00
francoischalifour pushed a commit that referenced this pull request Oct 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.13.1](v1.13.0...v1.13.1)
(2026-10-21)


### Bug Fixes

* **app:** keep TypeScript out of CLI release bundles
([#167](#167))
([dc8fb6b](dc8fb6b))
* **release:** prepare release PRs after draft publication
([#166](#166))
([58b23a2](58b23a2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants