Skip to main content

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 main and are squash-merged. The title is a Conventional Commit (.github/workflows/pr-title.yml) and becomes the changelog line.
  • docs, refactor, test, chore and ci release nothing. Below 1.0, feat and breaking changes raise the minor version, fix and perf the patch. A release-as on a package in release-please-config.json sets its next version instead, and comes out after the release it names.
  • The branch stable points at the latest release: users add the marketplace at it.

Release flow​

  1. On every push to main, after the job release, release-please (.github/workflows/release.yml, release-please-config.json, .release-please-manifest.json) keeps one release pull request open, titled chore(main): release cedarloom, with the new versions and changelogs.
    • The bundle cedarloom and the plugins cl-workflow, cl-repo, cl-orchestration and cl-skills share one version (linked-versions), set in each .claude-plugin/plugin.json and in the .codex-plugin/plugin.json of the four plugins (the bundle has none).
    • Each plugin's changes go to plugins/<name>/CHANGELOG.md.
  2. The owner merges the release pull request, or answers the project bot's ask to land it (Owner-only), once the last Checks run on main passed: the job release waits for no check, and in a private repository the macOS plugin tests run only on pushes to main.
    • Every plugin in .claude-plugin/marketplace.json holds at least one skill before the first release that includes it: linked-versions releases a plugin without changes of its own, and no check catches an empty one.
  3. The job release tags 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 bundle cedarloom-v<x.y.z>, creates a Release on each plugin tag of this release with its changelog section, then the Release cedarloom-v<x.y.z> (marked latest) with the sections of all five changelogs, moves stable to the tagged commit and labels the release pull request autorelease: tagged. release-please then opens the next release pull request from the commits after the new tags.
  4. 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:

  1. Settings, Environments: create the environment release, set its deployment branches to the branch main only, and add no required reviewers.
  2. Add the secret RELEASE_APP_PRIVATE_KEY, the App's private key, to that environment.
  3. 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.