| name | bump-version |
| description | Bump the version number of wyoming-openai. |
| argument-hint | [patch|minor|major|estimate] |
| disable-model-invocation | true |
Bump version $ARGUMENTS.
For releases off main, prefer the GitHub Actions Bump Version workflow
(.github/workflows/bump-version.yml) — it performs the same edits, opens a
labeled PR, and chains into the draft-release workflow on merge. Use this skill
locally when working off a non-main branch or when you need estimate mode.
Steps:
- Read current version from
pyproject.toml (line containing version = "x.y.z")
- If no argument provided, default to minor bump
- If argument is
estimate, analyze changes since last tag to determine bump type:
- Use
git log and git diff to review recent changes
- patch: bug fixes, documentation, minor tweaks
- minor: new features, non-breaking enhancements
- major: breaking changes, API modifications
- Present recommendation to user for confirmation before proceeding
- Calculate new version:
- patch: x.y.z → x.y.(z+1)
- minor: x.y.z → x.(y+1).0
- major: x.y.z → (x+1).0.0
- Update version in:
pyproject.toml: Update version = "x.y.z" line
README.md: Update version in Docker tagging section
- Display summary: old version → new version, files updated
- Remind user to commit and tag:
git tag vx.y.z