ci: automated versioning with release-please#87
Merged
Conversation
Maintains a release PR from conventional commits, syncs root/widget/worker package versions, and cuts tags + GitHub Releases on merge. Supersedes the manual standard-version flow (left in place for now). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds release-please so versioning, CHANGELOG, tags, and GitHub Releases stop being hand-driven (the v1.1.0 release was fully manual, and versions had drifted: root
0.5.0, widget/worker0.1.0, tagsv1.x)..github/workflows/release-please.ymlruns on push tomain.release-please-config.json+.release-please-manifest.json(seeded at1.1.0, matching the latest tag).include-component-in-tag: falsekeeps thevX.Y.Ztag format. Changelog sections mirror the existing.versionrc.json.extra-filessyncswidget/andworker/package.jsonversions to the root version going forward, ending the sprawl.docs/plans/2026-05-26-release-automation-and-cdn-design.md.How it works: release-please maintains a "release vX.Y.Z" PR from conventional commits; merging it cuts the tag + Release. It only pushes to its own PR branch and creates tags/releases, so it never writes to protected
maindirectly — no bypass token needed.Follow-up / setup
token:), or release-please can't open its PR.standard-versionsetup (.versionrc.json,release*scripts, devDep) is now superseded; left in place and removable in a follow-up once this is confirmed working.This is additive — no existing behavior changes until the workflow runs on
main.Note
PR #(cdn-auto-update) is stacked on this branch and adds the CDN/auto-update piece (including the step that commits built artifacts into the release PR).