From 68f94deaaed6616a5f3805e1a948a1d0361a3f5b Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:14:53 +0100 Subject: [PATCH] 1036 prepare 0320 release (#1055) * bumpversion * update howto release docs --- .bumpversion.cfg | 2 +- CITATION.cff | 2 +- dfm_tools/__init__.py | 2 +- docs/CONTRIBUTING.md | 3 ++- docs/whats-new.md | 2 +- pyproject.toml | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 256e96de..951dc6e8 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.31.1 +current_version = 0.32.0 commit = True tag = True diff --git a/CITATION.cff b/CITATION.cff index b7c15c9c..a38ed091 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,5 +8,5 @@ authors: orcid: https://orcid.org/0000-0002-6349-818X title: "dfm_tools: A Python package for pre- and postprocessing D-FlowFM model input and output files" type: software -version: 0.31.1 +version: 0.32.0 doi: https://doi.org/10.5281/zenodo.7857393 diff --git a/dfm_tools/__init__.py b/dfm_tools/__init__.py index 2fcc0092..661d290b 100644 --- a/dfm_tools/__init__.py +++ b/dfm_tools/__init__.py @@ -4,7 +4,7 @@ __author__ = """Jelmer Veenstra""" __email__ = "jelmer.veenstra@deltares.nl" -__version__ = "0.31.1" +__version__ = "0.32.0" from dfm_tools.deprecated import * from dfm_tools.download import * diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 82c7e701..3fa3505c 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -65,11 +65,12 @@ ## Create release - make sure the `main` branch is up to date (check pytest warnings, important issues solved, all pullrequests and branches closed) +- create and checkout branch for release - bump the versionnumber with `bumpversion minor` - update `docs/whats-new.md` and add a date to the current release heading - run local testbank with `pytest -m "not era5slow and not requireslocaldata"` - local check with: `python -m build` and `twine check dist/*` ([does not work on WCF](https://github.com/pypa/setuptools/issues/4133)) -- commit+push to github via PR +- commit+push to branch and merge PR - copy the dfm_tools version from [pyproject.toml](https://github.com/Deltares/dfm_tools/blob/main/pyproject.toml) (e.g. `0.11.0`) - create a [new release](https://github.com/Deltares/dfm_tools/releases/new) - click `choose a tag` and type v+versionnumber (e.g. `v0.11.0`), click `create new tag: v0.11.0 on publish` diff --git a/docs/whats-new.md b/docs/whats-new.md index 347a3c5f..caadd32a 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -1,6 +1,6 @@ # What's new -## UNRELEASED +## 0.32.0 (2025-01-14) ### Feat - updated to copernicusmarine v2 in [#1046](https://github.com/Deltares/dfm_tools/pull/1046) diff --git a/pyproject.toml b/pyproject.toml index 11425c6d..91f2e38f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "dfm_tools" -version = "0.31.1" +version = "0.32.0" maintainers = [{ name = "Jelmer Veenstra", email = "jelmer.veenstra@deltares.nl" }] description = "dfm_tools are pre- and post-processing tools for Delft3D FM" readme = "README.md"