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 containingversion = "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 logandgit diffto 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
- Use
- 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: Updateversion = "x.y.z"lineREADME.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
Source: roryeckel/wyoming_openai — distributed by TomeVault.