Skip to content

Release

Releases are tags, not npm packages. A consumer installs a tag, and dist/ is committed, so the install needs no build step.

Cutting a release

  1. Open one pull request, chore(release): prepare vX.Y.Z, with the version in package.json and package-lock.json, the CHANGELOG.md section, and npx plugin-kit docs when the manifest changed.
  2. Merge it once master's ci is green.
  3. The owner pushes the tag vX.Y.Z on that commit. An agent never pushes a tag on its own.

What the tag does

The called release workflow checks that the tag is on master and names the version in package.json, writes the conformance report from the committed dist/, packs the tarball and writes SHA256SUMS with bare file names before it checks the files against them. It then creates a non-draft GitHub Release with those files. Each sum names its file by bare name, so sha256sum -c SHA256SUMS passes in the folder a person downloads. Releases are unsigned by default. A tag that names another version, or one that is not on master, fails before anything is published.

Installing a release

opencode plugin add github:we-the-rebel-alliance/plaud-plugin#vX.Y.Z

The consumer pins the tag, and OpenCode keeps it on the version it installed. A master install is never a release.