Release¶
A release is a tag, not an npm package. The Release workflow publishes it from the tag, and a host installs it as github:we-the-rebel-alliance/tavily-plugin#v<version>.
Prepare the release¶
The version and the CHANGELOG.md section are prepared in one pull request, chore(release): prepare vX.Y.Z, with the version in package.json and package-lock.json, the changelog section, and npx plugin-kit docs if the manifest changed. Merge it only when CI passed.
Cut the tag¶
On a master commit whose CI passed, level with origin/master and with nothing uncommitted, the lead runs:
It runs the gate, checks the version and the CHANGELOG.md section, and cuts an annotated tag locally. It pushes nothing. The owner pushes the tag; an agent never pushes one.
What the workflow does¶
release.yml runs on a v* tag:
- It checks that the tag names
package.json's version. - It runs
npm run check. - It packs the tarball, writes the conformance report and
SHA256SUMS, and checks the files against the sums. Each sum names its file by bare name, sosha256sum -c SHA256SUMSalso passes in the folder a person downloads. - It creates the GitHub Release with generated notes and those files.
NOTICE carries the licence of every package the bundle inlines, and a test checks it against the bundle's metafile. The tarball carries the runtime, the skills and the icons, and nothing else.
Install the release¶
A Git install does not update by itself: remove the exact tag and add the next one.