How to release a new version#
To follow these steps, you need to be one of the maintainers for imod on both PyPI and conda-forge, as well as access to the Deltares Teamcity build environment.
Update the Changelog and the
__version__
inimod/__init__.py
, and the version entry in thepixi.toml
for complenetess.Create a tag on your local machine and push it GitHub. Old tags are here. Old releases are here. The tag name should be
vx.y.z
, where x, y and z are version numbers according to Semantic Versioning.On Teamcity go to the Deploy All build step in the Deploy project.
Press the Run button and select the Changes Tab.
Select the branch/tag you want to release and press Run Build
The TeamCity pipeline will:
Create a release on GitHub
Create the imod-python package and upload it to PyPi
Build the documentation and deploy it