Release¶
Releases are tags, not npm packages. A consumer pins the tag:
Cutting a release¶
A release is prepared in one pull request, chore(release): prepare vX.Y.Z, with:
- the version in
package.jsonandpackage-lock.json; - the
CHANGELOG.mdsection; npx plugin-kit docsif the manifest changed.
The owner pushes the tag after master's CI passed. The release workflow then:
- checks that the tag names the package's version;
- runs
npm run check; - writes the conformance report and packs the tarball;
- writes
SHA256SUMSfrom insiderelease/, so each sum names its file by bare name, and checks the files against it; - creates the GitHub Release with the tarball,
conformance.jsonandSHA256SUMS.
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.