Install
openclaw skills install wip-releaseOne-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub.
openclaw skills install wip-releaseLocal release pipeline. One command bumps version, updates all docs, publishes everywhere.
Use wip-release for:
Use --dry-run for:
Use --no-publish for:
Four release tracks. Each has different behavior for npm tags, public repo sync, and release notes.
| Track | Command | npm tag | Public code sync | Public release notes |
|---|---|---|---|---|
| Alpha | wip-release alpha | @alpha | No | No (opt in with --release-notes) |
| Beta | wip-release beta | @beta | No | Yes, prerelease (opt out with --no-release-notes) |
| Hotfix | wip-release hotfix | @latest | No | Yes (opt out with --no-release-notes) |
| Stable | wip-release patch/minor/major | @latest | Yes (deploy-public) | Yes, full notes |
1.9.68-alpha.1, 1.9.68-alpha.2, etc.1.9.68-beta.1, 1.9.68-beta.2, etc.# Stable (existing behavior)
wip-release patch # full pipeline
wip-release minor --dry-run # preview only
wip-release major --no-publish # bump + tag only
wip-release patch --skip-product-check # skip product docs gate
# Alpha
wip-release alpha # npm @alpha, no public notes
wip-release alpha --release-notes # npm @alpha + prerelease notes on public
# Beta
wip-release beta # npm @beta + prerelease notes on public
wip-release beta --no-release-notes # npm @beta, skip public notes
# Hotfix
wip-release hotfix # npm @latest + public release notes
wip-release hotfix --no-release-notes # npm @latest, skip public notes
wip-release checks that product docs (dev update, roadmap, readme-first) were updated before publishing. Only runs on repos with an ai/ directory.
Checks:
ai/dev-updates/ has a file modified since the last release tagai/product/plans-prds/roadmap.md was modified since last releaseai/product/readme-first-product.md was modified since last releaseAfter publishing, wip-release auto-copies SKILL.md to your website as plain text. Any AI can fetch the URL and get clean install instructions.
Setup: Add .publish-skill.json to your repo root:
{ "name": "wip-my-tool", "websiteRepo": "/path/to/website-repo" }
How it works:
{website}/wip.computer/install/{name}.txtdeploy.sh in the website repo to push liveWebsite repo resolution:
.publish-skill.json websiteRepo field (per-repo)WIP_WEBSITE_REPO env var (global fallback)Name resolution (first match wins):
.publish-skill.json name fieldpackage.json name (with @scope/ prefix stripped)-private suffix stripped)import { release, releasePrerelease, releaseHotfix, detectCurrentVersion, bumpSemver, bumpPrerelease } from '@wipcomputer/wip-release';
// Stable release
await release({ repoPath: '.', level: 'patch', notes: 'fix', dryRun: false, noPublish: false });
// Alpha/beta prerelease
await releasePrerelease({ repoPath: '.', track: 'alpha', notes: 'testing', dryRun: false, noPublish: false, publishReleaseNotes: false });
// Hotfix
await releaseHotfix({ repoPath: '.', notes: 'critical fix', dryRun: false, noPublish: false, publishReleaseNotes: true });
Check that ~/.openclaw/secrets/op-sa-token exists and op CLI is installed.
Branch protection may prevent direct pushes. Make sure you're on main after merging a PR.
Only updates if the file has a YAML frontmatter version: field between --- markers.
Tools: release, release_status
Add to .mcp.json:
{
"wip-release": {
"command": "node",
"args": ["/path/to/tools/wip-release/mcp-server.mjs"]
}
}
npm i -g @wipcomputer/wip-release