Skip to content

Release

A release is the tag v<version> on a master commit whose check passed. The lead cuts releases after a pull request merges; an agent never pushes a tag on its own.

The tag

package.json's version and the tag must agree. A tag that does not name the package's version fails the release before anything is published.

What the release carries

.github/workflows/release.yml repeats the full check on the tagged commit, checks the files against SHA256SUMS, then creates the GitHub Release with exactly three files:

  • the packed tarball from npm pack;
  • conformance.json, from plugin-kit check --json;
  • SHA256SUMS, over the other two, each named by its bare file name so sha256sum -c SHA256SUMS passes in the folder a person downloads.

A consumer installs from the tag:

opencode plugin add github:we-the-rebel-alliance/charts-plugin#v0.0.3

The repository commits dist/, so a Git install needs no build and no lifecycle script. Releases are not published to npm.

Before a release

  • CHANGELOG.md carries the version's section.
  • npm run check passes on the commit the tag will name.
  • dist/, THIRD_PARTY_NOTICES.md and licenses/ are what the bundle writes, with no uncommitted change.

After a release

The GitHub Release is the product. A later release is a new tag on a later master commit; the tag is never moved.