Skip to content

Commit

Permalink
21 create 020 release (#134)
Browse files Browse the repository at this point in the history
* added pypi upload

* Bump version: 0.1.1 → 0.2.0

* updated whatsnew
  • Loading branch information
veenstrajelmer authored Sep 2, 2024
1 parent b00ae0d commit 74118b5
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.1
current_version = 0.2.0
commit = True
tag = True

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/pypi-upload.yml
Original file line number Diff line number Diff line change
@@ -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/*
2 changes: 1 addition & 1 deletion docs/whats-new.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion kenmerkendewaarden/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

__author__ = """Jelmer Veenstra"""
__email__ = "[email protected]"
__version__ = "0.1.1"
__version__ = "0.2.0"

from kenmerkendewaarden.data_retrieve import *
from kenmerkendewaarden.data_analysis import *
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]" }]
description = "Derive indicators from waterlevel measurements"
readme = "README.md"
Expand Down

0 comments on commit 74118b5

Please sign in to comment.