Release Process of OMC Packages¶
Our packages' release process to PyPI is automated through Github Actions, and triggered by manually creating a release from the Github repository.
When the final changes for a release, including updating the package's version number and updating the Changelog.md file, have been merged into the master branch, the release process is as follows:
- Go to the
Releasessection and clickDraft a new releasein the top right. - Click the
Select Tagmenu, enter the package's version number to be released in the search box andtag versionfield and selectCreate new tag. - Enter a
Release title- we usually go byRelease <version_number>. - Enter a description for the
added,fixedandchangedelements, which is usually the same content as the one added to theCHANGELOG.mdfile. One can look at previous releases for guidance. - Click
Publish Release. A snapshot of the source code frommasterwill automatically be attached.
A publish workflow will automatically be triggered, build source distribution and wheels and upload these to pylhc's PyPI.