diff --git a/.github/workflows/CI_publish_pypi.yml b/.github/workflows/CI_publish_pypi.yml index b9e9c07..90249b9 100644 --- a/.github/workflows/CI_publish_pypi.yml +++ b/.github/workflows/CI_publish_pypi.yml @@ -3,24 +3,13 @@ name: Publish on: release: types: [published] - workflow_dispatch: jobs: - publish: + build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.9 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - python setup.py sdist bdist_wheel - - name: Publish package - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} + - uses: actions/checkout@v4 + - name: Build and publish to pypi + uses: JRubics/poetry-publish@v1.17 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index c8d32bb..3a25faf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sparsestack" -version = "0.5.1" +version = "0.6.0" description = "Python library to handle stacks of sparse COO arrays efficiently." authors = ["Florian Huber "] license = "MIT" diff --git a/sparsestack/__version__.py b/sparsestack/__version__.py index 93b60a1..ef7eb44 100644 --- a/sparsestack/__version__.py +++ b/sparsestack/__version__.py @@ -1 +1 @@ -__version__ = '0.5.1' +__version__ = '0.6.0'