All skills
Skillintermediate
Bump Plugin Version
If not instructions from user provided, detect changed plugins and bump their versions along with the marketplace version.
Claude Code Knowledge Pack7/10/2026
Overview
Bump Plugin Version
If not instructions from user provided, detect changed plugins and bump their versions along with the marketplace version.
Current State
- Git status:
git status --short - Changed files in plugins:
git diff --name-only HEAD | grep "^plugins/" | cut -d'/' -f2 | sort -u
Instructions
-
Parse the argument:
$ARGUMENTSshould be one of:minor,major, orpatch- If no argument provided or invalid, ask the user to specify: minor, major, or patch
-
Identify changed plugins from the git diff output above
- Look for changes in
plugins/<plugin-name>/directories - Extract unique plugin names
- Look for changes in
-
For each changed plugin:
- Read current version from
plugins/<plugin-name>/.claude-plugin/plugin.json - Calculate new version based on increment type:
patch: 1.0.0 → 1.0.1minor: 1.0.0 → 1.1.0major: 1.0.0 → 2.0.0
- Run:
just set-version <name> <new-version>
- Read current version from
-
Bump marketplace version using the same increment type:
- Read current version from
.claude-plugin/marketplace.json - Calculate new version
- Run:
just set-marketplace-version <new-version>
- Read current version from
-
Report what was bumped:
- List each plugin with old → new version
- Show marketplace old → new version