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¶
A release is prepared in one pull request, chore(release): prepare vX.Y.Z: the version in package.json and package-lock.json, and the CHANGELOG.md section. After master's CI passed, the maintainer runs:
The command requires the prepared files, runs the checks and creates the annotated tag. package.json and the tag must name the same version. Push the tag to let CI publish.
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 named by its bare file name sosha256sum -c SHA256SUMSpasses in the download folder.
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.