diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 7624aa1..a3c276d 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -9,23 +9,22 @@ on: jobs: deploy: - + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - - name: Build and publish - env: - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - run: | - python setup.py sdist bdist_wheel --universal - twine upload dist/* + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: python -m build + - name: Publish package + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + with: + user: ${{ secrets.PYPI_USERNAME }} + password: ${{ secrets.PYPI_PASSWORD }} diff --git a/bankid/__version__.py b/bankid/__version__.py index faa8421..99c4dfb 100644 --- a/bankid/__version__.py +++ b/bankid/__version__.py @@ -8,5 +8,5 @@ from __future__ import print_function from __future__ import absolute_import -__version__ = "0.13.0" +__version__ = "0.13.1" version = __version__ # backwards compatibility name