-
Update CHANGELOG.md with the release date
-
Commit all changes:
git add . git commit -m "chore: prepare release v3.1.0" git push origin main
-
Create and push tag:
git tag -a v3.1.0 -m "Release v3.1.0" git push origin v3.1.0 -
GitHub Actions will automatically:
- Build the package
- Run tests
- Publish to PyPI (if PYPI_API_TOKEN is configured)
- Create GitHub release with artifacts
- Go to Releases → Draft a new release
- Choose tag:
v3.1.0(create new tag) - Release title:
Release v3.1.0 - Description: Copy from CHANGELOG.md
- Check "Set as the latest release"
- Click "Publish release"
To publish to PyPI, you need to:
-
Create PyPI API token:
- Go to https://pypi.org/manage/account/token/
- Create a new API token
- Copy the token
-
Add to GitHub Secrets:
- Go to repository Settings → Secrets and variables → Actions
- Add new secret:
PYPI_API_TOKEN - Paste the token value
-
The workflow will automatically publish when a release is created.
Update version in:
pyproject.toml-version = "3.1.0"app.py-app.setApplicationVersion("3.1.0")CHANGELOG.md- Add new version section
- All tests passing
- CHANGELOG.md updated with release date
- Version numbers updated in all files
- Documentation reviewed
- Tag created and pushed
- GitHub release created
- PyPI package published (if applicable)