release
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRelease Skill
发布Skill
Automate the release process for oh-my-claudecode.
为oh-my-claudecode自动化发布流程。
Usage
使用方法
/oh-my-claudecode:release <version>Example: or or
/oh-my-claudecode:release 2.4.0/oh-my-claudecode:release patch/oh-my-claudecode:release minor/oh-my-claudecode:release <version>示例: 或 或
/oh-my-claudecode:release 2.4.0/oh-my-claudecode:release patch/oh-my-claudecode:release minorRelease Checklist
发布检查清单
Execute these steps in order:
按顺序执行以下步骤:
1. Version Bump
1. 版本号升级
Update version in all locations:
package.json- (VERSION constant)
src/installer/index.ts - (expected version)
src/__tests__/installer.test.ts .claude-plugin/plugin.json- (version badge and title)
README.md
在所有位置更新版本号:
package.json- (VERSION常量)
src/installer/index.ts - (预期版本)
src/__tests__/installer.test.ts .claude-plugin/plugin.json- (版本徽章和标题)
README.md
2. Run Tests
2. 运行测试
bash
npm run test:runAll 231+ tests must pass before proceeding.
bash
npm run test:run所有231+个测试必须通过才能继续。
3. Commit Version Bump
3. 提交版本号更新
bash
git add -A
git commit -m "chore: Bump version to <version>"bash
git add -A
git commit -m "chore: Bump version to <version>"4. Create & Push Tag
4. 创建并推送标签
bash
git tag v<version>
git push origin main
git push origin v<version>bash
git tag v<version>
git push origin main
git push origin v<version>5. Publish to npm
5. 发布到npm
bash
npm publish --access publicbash
npm publish --access public6. Create GitHub Release
6. 创建GitHub Release
bash
gh release create v<version> --title "v<version> - <title>" --notes "<release notes>"bash
gh release create v<version> --title "v<version> - <title>" --notes "<release notes>"7. Verify
7. 验证
Version Files Reference
版本文件参考
| File | Field/Line |
|---|---|
| |
| |
| |
| |
| Title + version badge |
| 文件 | 字段/行 |
|---|---|
| |
| |
| |
| |
| 标题 + 版本徽章 |
Semantic Versioning
语义化版本控制
- patch (X.Y.Z+1): Bug fixes, minor improvements
- minor (X.Y+1.0): New features, backward compatible
- major (X+1.0.0): Breaking changes
- patch (X.Y.Z+1): Bug修复、小改进
- minor (X.Y+1.0): 新功能、向后兼容
- major (X+1.0.0): 破坏性变更
Notes
注意事项
- Always run tests before publishing
- Create release notes summarizing changes
- Plugin marketplace syncs automatically from GitHub releases
- 发布前务必运行测试
- 创建总结变更的发布说明
- 插件市场会从GitHub Releases自动同步