This script helps keep version numbers in sync between pyproject.toml
and _version.py. It can check sync status, update _version.py to match
pyproject.toml, or set both files to a new version.
Usage:
- python sync_version.py # Check sync status
- python sync_version.py --update # Update _version.py to match pyproject.toml
- python sync_version.py --set 1.0.2 # Set both versions to 1.0.2
Change author from "Claude AI Assistant" to "Ryan Malloy" and
email to "ryan@supported.systems" to be consistent with the
package metadata in pyproject.toml.
- Complete setup instructions for trusted publishing
- Step-by-step publishing process
- Troubleshooting guide
- Best practices for versioning and changelog
- Triggers on version tags (v*)
- Supports both TestPyPI and PyPI publishing
- Uses trusted publishing (OIDC) for security
- Requires all tests to pass before publishing
- Creates GitHub releases with changelog
- Supports manual workflow dispatch for testing