bump-version
Installation
SKILL.md
Bump Version
Analyze commits since the last release tag and determine the appropriate semver version bump, then apply it using npm version.
Workflow
Follow these steps in order. Do not skip the confirmation step.
Step 1: Identify the Latest Tag
Run git tag --sort=-v:refname | head -1 to find the most recent version tag. Tags follow the v* pattern (e.g., v1.0.3).
Step 2: List Commits Since the Last Tag
Run git log <latest-tag>..HEAD --oneline to retrieve all unreleased commits. If there are no commits since the last tag, inform the user and stop.
Step 3: Determine the Version Bump Type
Analyze each commit message to classify the version bump: