Deploy new releases of the mcp-runrunit npm package. Use when publishing a new version, bumping version numbers, updating changelog, or releasing features, fixes, or breaking changes for mcp-runrunit.
Guides version bump and changelog for the mcp-runrunit npm package. Build and publish run automatically on merge to main (GitHub Actions).
Publish is automatic: the workflow .github/workflows/release-mcp-runrunit.yml runs on push to main (when mcp-runrunit/** or the workflow file change). It builds, publishes to npm, and creates the git tag. You only need to update the version and changelog before merging to main.
Copy and track progress:
Release progress:
- [ ] 1. Bump version (semver)
- [ ] 2. Update package.json version
- [ ] 3. Update server.json version (both places)
- [ ] 4. Update CHANGELOG.md
- [ ] 5. Commit, push, and open/merge PR to main (CI will publish)
| Bump | When to use | Example |
|---|---|---|
| Patch (x.y.Z) | Bug fixes, small changes, no API change | 1.0.1 → 1.0.2 |
| Minor (x.Y.0) | New features, backward compatible | 1.0.2 → 1.1.0 |
| Major (X.0.0) | Breaking changes, incompatible API | 1.1.0 → 2.0.0 |
Use the new version (e.g. 1.0.2) in all following steps.
File: mcp-runrunit/package.json
Update only the version field (line 3):
"version": "1.0.2",
File: mcp-runrunit/server.json
Update both version fields to the same value:
Root version (around line 10):
"version": "1.0.2",
Inside packages[0] (around line 15):
"version": "1.0.2",
Keep all three version values identical (package.json + server.json root + server.json packages[0]).
File: mcp-runrunit/CHANGELOG.md
Use Keep a Changelog format. Add a new section at the top (below the title) for the release.
## [X.Y.Z] - YYYY-MM-DD
### Added
- New feature description.
### Changed
- Change description.
### Fixed
- Bug fix description.
### Removed
- Removed feature (if any).
YYYY-MM-DD.# Changelog
## [1.0.2] - 2025-03-09
### Fixed
- Correct task filter when using `ids` in list_tasks.
### Added
- Support for `link_da_branch` in task updates.
## [1.0.1] - 2025-03-01
...
After updating version and changelog:
Commit the version files:
git add mcp-runrunit/package.json mcp-runrunit/server.json mcp-runrunit/CHANGELOG.md
git commit -m "chore(mcp-runrunit): release vX.Y.Z"
Push your branch and open (or merge) a PR to main.
On merge to main, the GitHub Action will:
vX.Y.ZNo local npm publish or manual tagging is required.
Before merging to main:
package.json, server.json (root), and server.json → packages[0].version[X.Y.Z] - date section at the top with correct sections (Added/Changed/Fixed/…)npm run build in mcp-runrunit| File | What to update |
|---|---|
mcp-runrunit/package.json | "version": "X.Y.Z" |
mcp-runrunit/server.json | "version": "X.Y.Z" (root and inside packages[0]) |
mcp-runrunit/CHANGELOG.md | New release section at top |
If the CI workflow fails with npm error code EOTP or "This operation requires a one-time password", the NPM_TOKEN does not bypass 2FA. Fix:
mcp-runrunit-github-actions).mcp-runrunit package (or "All packages").NPM_TOKEN at Settings → Secrets and variables → Actions.Token types like "Automation" (classic) can still require OTP with 2FA enabled; only granular tokens with "Bypass 2FA" work in CI.