← 返回
开发者工具 Key 中文

Wip Release

One-command release pipeline. Bumps version, updates changelog + SKILL.md, publishes to npm + GitHub.
一键发布流水线,自动递增版本号、更新变更日志和 SKILL.md,发布至 npm 与 GitHub。
parkertoddbrooks
开发者工具 clawhub v1.9.72 3 版本 99838.7 Key: 需要
★ 0
Stars
📥 1,238
下载
💾 8
安装
3
版本
#latest

概述

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
  • Publishing alpha or beta prereleases for testing
  • Pushing hotfixes to npm without full deploy-public

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

  • Repos without a package.json

Release Tracks

Four release tracks. Each has different behavior for npm tags, public repo sync, and release notes.

TrackCommandnpm tagPublic code syncPublic release notes
---------------------------------------------------------------
Alphawip-release alpha@alphaNoNo (opt in with --release-notes)
Betawip-release beta@betaNoYes, prerelease (opt out with --no-release-notes)
Hotfixwip-release hotfix@latestNoYes (opt out with --no-release-notes)
Stablewip-release patch/minor/major@latestYes (deploy-public)Yes, full notes

Version numbering

  • Alpha: 1.9.68-alpha.1, 1.9.68-alpha.2, etc.
  • Beta: 1.9.68-beta.1, 1.9.68-beta.2, etc.
  • Hotfix: normal version bump (patch)
  • Stable: normal version bump (patch/minor/major)

API Reference

CLI

# 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

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:

  1. ai/dev-updates/ has a file modified since the last release tag
  2. ai/product/plans-prds/roadmap.md was modified since last release
  3. ai/product/readme-first-product.md was 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:

  1. If SKILL.md exists and a website repo is configured, copies SKILL.md to {website}/wip.computer/install/{name}.txt
  2. Runs deploy.sh in the website repo to push live
  3. Non-blocking: if deploy fails, the release still succeeds

Website repo resolution:

  1. .publish-skill.json websiteRepo field (per-repo)
  2. WIP_WEBSITE_REPO env var (global fallback)

Name resolution (first match wins):

  1. .publish-skill.json name field
  2. package.json name (with @scope/ prefix stripped)
  3. Directory name (with -private suffix stripped)

Module

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 });

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"]
  }
}

版本历史

共 3 个版本

  • v1.9.72 当前
    2026-05-03 03:05 安全 安全
  • v1.9.33
    2026-03-27 21:35
  • v1.9.8
    2026-03-14 01:58

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,918
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,481
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,438