Releasing
A release ships the plugins only; nothing publishes to npm. No workflow merges the release pull request or enables auto-merge on it: the owner merges it, or answers "Land it" to the project bot's ask on its Orca item.
Branches and commits
- Pull requests target
mainand are squash-merged. The title is a Conventional Commit (.github/workflows/pr-title.yml) and becomes the changelog line. docs,refactor,test,choreandcirelease nothing. Below 1.0,featand breaking changes raise the minor version,fixandperfthe patch. Arelease-ason a package inrelease-please-config.jsonsets its next version instead, and comes out after the release it names.- The branch
stablepoints at the latest release: users add the marketplace at it.
Release flow
- On every push to
main, after the jobrelease, release-please (.github/workflows/release.yml,release-please-config.json,.release-please-manifest.json) keeps one release pull request open, titledchore(main): release cedarloom, with the new versions and changelogs.- The bundle
cedarloomand the pluginscl-workflow,cl-repo,cl-orchestrationandcl-skillsshare one version (linked-versions), set in each.claude-plugin/plugin.jsonand in the.codex-plugin/plugin.jsonof the four plugins (the bundle has none). - Each plugin's changes go to
plugins/<name>/CHANGELOG.md.
- The bundle
- The owner merges the release pull request, or answers the project bot's ask to land it (Owner-only), once the last
Checksrun onmainpassed: the jobreleasewaits for no check, and in a private repository the macOS plugin tests run only on pushes tomain.- Every plugin in
.claude-plugin/marketplace.jsonholds at least one skill before the first release that includes it:linked-versionsreleases a plugin without changes of its own, and no check catches an empty one.
- Every plugin in
- The job
releasetags each plugin with its release-please component (cedarloom-workflow-v<x.y.z>,cedarloom-repo-v<x.y.z>,cedarloom-orchestration-v<x.y.z>,cedarloom-skills-v<x.y.z>) and the bundlecedarloom-v<x.y.z>, creates a Release on each plugin tag of this release with its changelog section, then the Releasecedarloom-v<x.y.z>(marked latest) with the sections of all five changelogs, movesstableto the tagged commit and labels the release pull requestautorelease: tagged. release-please then opens the next release pull request from the commits after the new tags. - A failed step moves nothing after it, and a rerun of the job skips the steps an earlier run did. Until the label changes, release-please opens nothing: "Re-run failed jobs" finishes the release and then runs release-please.
Release App
The job release-please opens the release pull request with a token of the release GitHub App when the variable RELEASE_APP_CLIENT_ID (organization or repository) holds the App's client ID; without it the job uses GITHUB_TOKEN. The job reads the App's private key, the secret RELEASE_APP_PRIVATE_KEY, from the environment release, which only runs on main. One-time setup by an admin:
- Settings, Environments: create the environment
release, set its deployment branches to the branchmainonly, and add no required reviewers. - Add the secret
RELEASE_APP_PRIVATE_KEY, the App's private key, to that environment. - Delete the repository secret
RELEASE_APP_PRIVATE_KEY, and the organization secret of that name or this repository's access to it. An environment secret takes precedence over them but does not hide them: while they exist, every workflow run, including one of a branch that changes its workflow files, can read the key.