- Bump
versioninpyproject.toml. - Open a PR with the version bump, targeting
main. - Get it reviewed and merged.
- On GitHub → Releases → Draft a new release:
- Tag:
vX.Y.Z— must exactly match thepyproject.tomlversion (e.g.v0.1.1for0.1.1), or the workflow fails on purpose. - Target:
main - Fill in release notes, then Publish release.
- Tag:
- This triggers
.github/workflows/publish.yml: builds the sdist/wheel, verifies the tag matchespyproject.toml, then pauses waiting for approval. - Someone with access to the
pypienvironment approves the deployment (Actions tab → the run → Review deployments). Currently, either vh2001 or cfortuna can approve. - Verify the new version is live at https://pypi.org/project/ecal-energy/.
Docs redeploy automatically to https://sensorlab.github.io/eCAL/ on every merge to main — no separate step needed.