release-version
Installation
SKILL.md
Instructions
When this skill is invoked (or when preparing a release for features or bug fixes), follow these steps:
-
Inspect Git History & Staged Changes:
- Run
git describe --tags --abbrev=0to identify the current latest tag. - Run
git log <latest-tag>..HEAD --oneline(orgit log -n 15 --onelineif no tags exist) to examine all commits since the last release.
- Run
-
Determine the Next Semantic Version (
MAJOR.MINOR.PATCH):MAJORbump (X.0.0): If there are breaking changes, incompatible schema changes, or major architectural overhauls (BREAKING CHANGEorfeat!:/fix!:).MINORbump (X.Y.0): If there are new backwards-compatible features (feat:commits).PATCHbump (X.Y.Z): If there are backwards-compatible bug fixes or security patches (fix:,perf:,security:commits). (If multiple types are present, the highest priority takes precedence: MAJOR > MINOR > PATCH).
-
Bump Version Across Codebase:
- Run
bump-my-versionfor the target bump level (patch,minor, ormajor):
- Run