How to cut a new release of the MediaWiki MCP Server. Maintainers only.
CHANGELOG.md accumulates entries under ## [Unreleased] as PRs land. Before tagging, review that section, polish the wording, and commit any prose tweaks. The Unreleased entries become the GitHub Release body verbatim.
# For patch release (0.1.1 → 0.1.2)
npm version patch
# For minor release (0.1.1 → 0.2.0)
npm version minor
# For major release (0.1.1 → 1.0.0)
npm version major
# Or specify exact version
npm version 0.2.0This command automatically:
- Updates
package.jsonandpackage-lock.json - Syncs the version in
server.json,mcpb/manifest.json, andgemini-extension.json(via theversionscript) - Promotes
## [Unreleased]inCHANGELOG.mdto## [<version>] - <today>and refreshes the link references - Creates a git commit
- Creates a git tag (e.g.
v0.2.0)
The preversion hook runs npm run preflight first (install, lint, server.json validation, test, build, bundle) and aborts the release if any step fails.
git push origin master --follow-tagsThe release GitHub workflow triggers automatically on the tag and:
- Builds the
.mcpbbundle and attaches it to a new GitHub Release, using the newCHANGELOG.mdsection as the release body. - Publishes the package to NPM.
- Publishes to the MCP Registry.