Release¶
A release is an annotated tag v<version> on a master commit whose CI passed. Only the owner decides a release; an agent never pushes a tag on its own.
Cut a release¶
The maintainer runs:
The command requires package.json and CHANGELOG.md to be ready, runs the checks and creates the annotated tag. package.json and the tag must name the same version.
What CI publishes¶
The release workflow runs on the tag, checks the version, packs the release files, checks them against SHA256SUMS and creates the GitHub Release with:
- the npm tarball;
conformance.json, fromnpx plugin-kit check --json;SHA256SUMS, over the tarball and the conformance report.
Each sum names its file by bare name, so sha256sum -c SHA256SUMS passes in a folder a person downloads too.
There is no npm publish. A consumer installs the tag:
Before a release¶
npm run checkis green onmaster.CHANGELOG.mdnames the change.- The docs build with
mkdocs build --strict.