Bump the version number in pyproject.toml, plugin.json, and marketplace.json, then commit and tag.
Bump the Karkinos version across all manifest files.
/karkinos:bump-version <version>
/karkinos:bump-version 0.3.0
/karkinos:bump-version 1.0.0
When the user invokes /karkinos:bump-version, follow these steps:
Ensure the version follows semantic versioning (X.Y.Z):
echo "$VERSION" | grep -E '^[0-9]+\.[0-9]+\.[0-9]+$' || echo "INVALID"
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])
Display the diff before committing:
git diff
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"
Ask the user if they want to push:
git push origin main --tags
v0.2.0 (with v prefix)