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. - Enter the package's version number in the
tag versionfield. - 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. - Click
Publish Release. A snapshot of the source code frommasterwill automatically be attached.
A publish workflow will be triggered, build source distribution and wheels and upload these to pylhc's PyPI.