diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 53b5598..4029ff5 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.1 +current_version = 0.2.0 commit = True tag = True diff --git a/.github/workflows/pypi-upload.yml b/.github/workflows/pypi-upload.yml new file mode 100644 index 0000000..6c4032b --- /dev/null +++ b/.github/workflows/pypi-upload.yml @@ -0,0 +1,27 @@ +name: pypi-upload + +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install -e .[dev] + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python -m build + twine check dist/* + twine upload dist/* diff --git a/docs/whats-new.md b/docs/whats-new.md index 29ebd36..3a212e5 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -1,6 +1,6 @@ # What's new -## UNRELEASED +## 0.2.0 (2024-09-02) ### Feat - moved from pickle to netcdf and improved statistics in [#14](https://github.com/Deltares-research/kenmerkendewaarden/pull/14) diff --git a/kenmerkendewaarden/__init__.py b/kenmerkendewaarden/__init__.py index d9c7080..9943099 100644 --- a/kenmerkendewaarden/__init__.py +++ b/kenmerkendewaarden/__init__.py @@ -4,7 +4,7 @@ __author__ = """Jelmer Veenstra""" __email__ = "jelmer.veenstra@deltares.nl" -__version__ = "0.1.1" +__version__ = "0.2.0" from kenmerkendewaarden.data_retrieve import * from kenmerkendewaarden.data_analysis import * diff --git a/pyproject.toml b/pyproject.toml index 8547c1a..856c150 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "kenmerkendewaarden" -version = "0.1.1" +version = "0.2.0" maintainers = [{ name = "Jelmer Veenstra", email = "jelmer.veenstra@deltares.nl" }] description = "Derive indicators from waterlevel measurements" readme = "README.md"