Releasing#
Release steps:
create release branch
update the package version in pyproject.toml, the version in __init__.py is extracted from there
update the header in the changelog (preserve the unreleased header)
run local testbank:
pixi run testlocal check with:
pixi run flit buildandpixi run twine check dist/*create PR and merge back to main
create a new release: Deltares/hydromt_delft3dfm
click
choose a tagand type v+versionnumber (e.g.v0.1.0), clickcreate new tag: v0.1.0 on publishset the release title to the tagname (e.g.
v0.1.0)click Generate release notes and replace the What’s Changed info by a tagged link to
docs/whats-new.mdif all is set, click
Publish releasea release is created and the github action publishes it on PyPI: https://pypi.org/project/hydromt_delft3dfm
Post release:
Update the version to 0.1.1 (bump patch)
Initialise changelog unrelease/added/fixed/changed
Push and merge to main