Make a Release#
This guide walks you through publishing a new version of onTime on PyPI.
Switch to the main branch
# make sure you are on the right branch git checkout main
Merge develop into main
git merge develop git push
Update the version in pyproject.toml
[project] name = "ontime" version = "x.y.z-suffix"
Commit and push
git add pyproject.toml git commit -m 'Update version to x.y.z-suffix'
Tag the version
git tag -a v<x.y.z-suffix> -m 'Version x.y.z-suffix' git push origin v<x.y.z-suffix>
Build the package
make buildThis runs
uv buildunder the hood.Publish the package
make publishThis runs
uv publish. Then create the GitHub Release.Double-check everything went well
On GitHub Actions.
On PyPI.
Done! 🎉