Release and publish Copex to PyPI. Use this when asked to release, publish, bump version, or create a new version.
Follow these steps to release a new version of Copex:
python -m pytest tests/ -v
All tests must pass before releasing.
Update version in BOTH files (must stay in sync):
pyproject.toml → change version = "X.Y.Z"src/copex/cli.py → change __version__ = "X.Y.Z"git add -A
git commit -m "chore: bump version to X.Y.Z"
git tag vX.Y.Z
git push
git push --tags
This triggers the PyPI publish workflow.
# PowerShell - clear conflicting env var if needed
$env:GH_TOKEN = $null
gh release create vX.Y.Z --title "vX.Y.Z" --notes "### Changes
- Description of changes"
Check the workflow at: https://github.com/Arthur742Ramos/copex/actions/workflows/publish.yml
### Features
- New feature description
### Bug Fixes
- Bug fix description
### Tests
- Test improvements
If gh auth fails with "Bad credentials":
$env:GH_TOKEN = $null
gh auth status
If PyPI publish fails:
PYPI_API_TOKEN secret is set