name: bump-version description: Bump version numbers for a new release. Use when releasing, updating version, or preparing a new version.
Bump Version
Update the version string in both of these files (they must match):
-
pyproject.tomlline 7:version = "X.Y.Z" -
pytest_claude_agent_sdk/__init__.pyline 27:__version__ = "X.Y.Z"
Steps
- Ask user for the new version if not provided
- Read both files to confirm current version
- Update both files with new version
- Show diff of changes
- Suggest commit message:
Bump version to X.Y.Z
Version Format
Use semantic versioning: MAJOR.MINOR.PATCH
- MAJOR: Breaking changes
- MINOR: New features, backward compatible
- PATCH: Bug fixes, backward compatible