Skip to content

Release

Releases are tags, not npm packages. A consumer pins the tag:

opencode plugin add github:we-the-rebel-alliance/metaview-plugin#v0.0.2

Cutting a release

A release is prepared in one pull request, chore(release): prepare vX.Y.Z, with:

  • the version in package.json and package-lock.json;
  • the CHANGELOG.md section;
  • npx plugin-kit docs if the manifest changed.

The owner pushes the tag after master's CI passed. The release workflow then:

  1. checks that the tag names the package's version;
  2. runs npm run check;
  3. writes the conformance report and packs the tarball;
  4. writes SHA256SUMS from inside release/, so each sum names its file by bare name, and checks the files against it;
  5. creates the GitHub Release with the tarball, conformance.json and SHA256SUMS.

Each sum names the file beside it, so sha256sum -c SHA256SUMS passes in the folder a person downloads.

Only the owner decides a release; an agent never pushes a tag on its own.

The version line

While the plugin is 0.x, a minor release may break. Only the latest release is supported, and the security policy says so.