- Develop features in branches
- Create pull requests to main/master
- When merged, tests run automatically
- Go to Actions tab in GitHub
- Select "Version Tagging" workflow
- Click "Run workflow"
- Choose version type (patch, minor, major)
- Click "Run workflow" button
- A PR will be created - review and merge it
After merging the version bump PR:
- A git tag is automatically created
- The tag triggers both package building/publishing and GitHub release creation
- No manual action is needed
If you want to manually update the changelog:
- Go to Actions tab in GitHub
- Select "Generate CHANGELOG" workflow
- Click "Run workflow"
- Enter version number
- Click "Run workflow" button
- A PR will be created - review and merge it
Developer → Version Tagging workflow → Version PR → Merge →
→ Git Tag Created → Triggers Package Deployment → PyPI/Conda Packages Published
→ Triggers GitHub Release → GitHub Release Created
For these workflows to function properly, set up these secrets in your repository settings:
PYPI_API_TOKENTEST_PYPI_API_TOKENANACONDA_TOKENCODECOV_TOKEN(optional)