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, fromplugin-kit check --json;SHA256SUMS, over the other two, each named by its bare file name sosha256sum -c SHA256SUMSpasses in the folder a person downloads.
A consumer installs from the tag:
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.mdcarries the version's section.npm run checkpasses on the commit the tag will name.dist/,THIRD_PARTY_NOTICES.mdandlicenses/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.