You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Repo] Update the release docs: release-please on main by default, hold branches only for long-running work #1376
The release docs make a hold branch the standard path for every minor release: one hold branch per minor release per package, feat and breaking work targets it, and the release runs from a staging PR. That's not how we release now. Release Please already collects releasable commits in each package's Release PR until we merge it, so feat work merges to main like everything else. The Release PR is where a release waits until we're ready to ship it.
Hold branches are still useful, but only as an exception: a large piece of work that will be in progress for a long time and shouldn't land on main piecemeal. Protocol changes are the most likely case. The website deploys on every merge to main and builds from the in-repo copy of core, so docs for unreleased protocol changes (like a new protocol version) go live on commongrants.org as soon as they merge, before core publishes. The docs should present hold branches that way.
Where the hold-branch default shows up:
lib/README.md: the "Hold branches", "SDK changes", and "Releasing from a hold branch" sections
CONTRIBUTING.md: tells contributors to target a release's hold branch when their issue is in a release milestone
lib/core/DEVELOPMENT.md: says minor and major core releases go through a hold branch, and its release review checklist runs on the hold branch
lib/cli/DEVELOPMENT.md, lib/ts-sdk/DEVELOPMENT.md, lib/python-sdk/DEVELOPMENT.md: runbooks that point to the hold-branch sections
Also stale: DEPENDENCY_MANAGEMENT.md says the Python SDK's package.json "exists only for Changesets detection." That file was removed when we adopted Release Please (#1051).
Acceptance criteria
lib/README.md describes the default flow as conventional-commit PRs into main, with each package's Release PR collecting changes until it's merged to publish.
Hold branches are documented as an exception for large, long-running work, including when to use one and how it lands on main.
The docs note that website changes go live when merged to main, so protocol changes that shouldn't appear on commongrants.org before core publishes may need a hold branch.
CONTRIBUTING.md tells contributors to target main unless a maintainer has set up a hold branch for the work.
The core, CLI, TypeScript SDK, and Python SDK runbooks run their release checks against main and the Release PR, not a hold branch or staging PR.
DEPENDENCY_MANAGEMENT.md no longer mentions Changesets.
Activity