A Claude Code plugin for bumping plugin versions. Automates the tedious release workflow: update version strings across files, generate a changelog, tag, and push.
/plugin install bumper# Bump patch version (default): 1.2.3 → 1.2.4
/bump
# Bump minor version: 1.2.3 → 1.3.0
/bump minor
# Bump major version: 1.2.3 → 2.0.0
/bump major
# Set exact version
/bump 2.0.0When you run /bump, the command:
- Reads the current version from
.claude-plugin/plugin.json - Calculates the new version based on your argument
- Updates version strings in:
.claude-plugin/plugin.json— the"version"fieldREADME.md— shields.io version badge (version-X.Y.Z-color)CLAUDE.md— version reference in parentheses ((vX.Y.Z))
- Generates a
CHANGELOG.mdentry from commits since the last tag, categorized using Keep a Changelog format - Commits the changes with message
chore: release vX.Y.Z - Tags the commit as
vX.Y.Z - Pushes the commit and tag to remote
The command looks for these specific patterns in each file:
| File | Pattern | Example |
|---|---|---|
plugin.json |
"version": "X.Y.Z" |
"version": "1.2.0" |
README.md |
version-X.Y.Z- (badge) |
version-1.2.0-blue |
CLAUDE.md |
(vX.Y.Z) |
plugin (v1.2.0) providing... |
Files that don't exist or don't contain the expected pattern are silently skipped.
MIT