bump-version
Bump the version number in pyproject.toml, plugin.json, and marketplace.json, then commit and tag.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Bump Version Skill
Bump the Karkinos version across all manifest files.
Usage
/karkinos:bump-version <version>
Examples
/karkinos:bump-version 0.3.0
/karkinos:bump-version 1.0.0
Instructions
When the user invokes /karkinos:bump-version, follow these steps:
1. Validate Version Format
Ensure the version follows semantic versioning (X.Y.Z):
echo "$VERSION" | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' || echo "INVALID"
2. Find and Update Version Files
Update version in these files:
-
pyproject.toml - CLI tool version
version = "X.Y.Z" -
karkinos-plugin/.claude-plugin/plugin.json - Plugin manifest
"version": "X.Y.Z" -
.claude-plugin/marketplace.json - Marketplace metadata and plugin listing
"version": "X.Y.Z" (both metadata and plugins[0])
3. Show Changes
Display the diff before committing:
git diff
4. Commit and Tag
git add pyproject.toml karkinos-plugin/.claude-plugin/plugin.json .claude-plugin/marketplace.json
git commit -m "chore: bump version to $VERSION"
git tag "v$VERSION"
5. Offer to Push
Ask the user if they want to push:
git push origin main --tags
Notes
- Always use semantic versioning (MAJOR.MINOR.PATCH)
- The tag format is
v0.2.0(withvprefix) - All 3 files must be updated together to stay in sync
- Consider updating CHANGELOG.md if it exists
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!