Wip Release
One-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub.
Description
name: wip-release description: One-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub. license: MIT interface: [cli, module, mcp] metadata: display-name: "Release Pipeline" version: "1.2.4" homepage: "https://github.com/wipcomputer/wip-release" author: "Parker Todd Brooks" category: dev-tools capabilities: - version-bump - changelog-update - skill-sync - npm-publish - github-release requires: bins: [git, npm, gh, op, clawhub] secrets: - path: ~/.openclaw/secrets/op-sa-token description: 1Password service account token - vault: Agent Secrets item: npm Token description: npm publish token openclaw: requires: bins: [git, npm, gh, op] install: - id: node kind: node package: "@wipcomputer/wip-release" bins: [wip-release] label: "Install via npm" emoji: "🚀" compatibility: Requires git, npm, gh, op (1Password CLI). Node.js 18+.
wip-release
Local release pipeline. One command bumps version, updates all docs, publishes everywhere.
When to Use This Skill
Use wip-release for:
- Releasing a new version of any @wipcomputer package
- After merging a PR to main and you need to publish
- Bumping version + changelog + SKILL.md in one step
Use --dry-run for:
- Previewing what a release would do before committing
Use --no-publish for:
- Bumping version and tagging without publishing to registries
Do NOT Use For
- Pre-release / alpha versions (not yet supported)
- Repos without a package.json
API Reference
CLI
wip-release patch --notes="fix X" # 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
Product Docs Gate
wip-release checks that product docs (dev update, roadmap, readme-first) were updated before publishing. Only runs on repos with an ai/ directory.
- patch: warns if product docs are stale (non-blocking)
- minor/major: blocks release until product docs are updated
- --skip-product-check: bypasses the gate
Checks:
ai/dev-updates/has a file modified since the last release tagai/product/plans-prds/roadmap.mdwas modified since last releaseai/product/readme-first-product.mdwas modified since last release
Skill Publish to Website
After 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:
- If SKILL.md exists and a website repo is configured, copies SKILL.md to
{website}/wip.computer/install/{name}.txt - Runs
deploy.shin the website repo to push live - Non-blocking: if deploy fails, the release still succeeds
Website repo resolution:
.publish-skill.jsonwebsiteRepofield (per-repo)WIP_WEBSITE_REPOenv var (global fallback)
Name resolution (first match wins):
.publish-skill.jsonnamefieldpackage.jsonname (with@scope/prefix stripped)- Directory name (with
-privatesuffix stripped)
Module
import { release, detectCurrentVersion, bumpSemver, syncSkillVersion } from '@wipcomputer/wip-release';
await release({ repoPath: '.', level: 'patch', notes: 'fix', dryRun: false, noPublish: false });
Troubleshooting
"Could not fetch npm token from 1Password"
Check that ~/.openclaw/secrets/op-sa-token exists and op CLI is installed.
"Push failed"
Branch protection may prevent direct pushes. Make sure you're on main after merging a PR.
SKILL.md not updated
Only updates if the file has a YAML frontmatter version: field between --- markers.
MCP
Tools: release, release_status
Add to .mcp.json:
{
"wip-release": {
"command": "node",
"args": ["/path/to/tools/wip-release/mcp-server.mjs"]
}
}
Reviews (0)
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!