From 7047d4e1057cac014b71c014fdc7eff4651a51c1 Mon Sep 17 00:00:00 2001 From: "Travis A. O'Brien" Date: Sun, 5 Nov 2023 13:34:35 -0500 Subject: [PATCH 1/2] =?UTF-8?q?Bump=20version:=201.0.30=20=E2=86=92=202.0.?= =?UTF-8?q?0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- REVISION | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3fc45bf..be8591f 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.30 +current_version = 2.0.0 commit = True tag = True diff --git a/REVISION b/REVISION index 475bda9..227cea2 100644 --- a/REVISION +++ b/REVISION @@ -1 +1 @@ -1.0.30 +2.0.0 From eb8bed92889b61443ae0b0b475ad27a5eed47e62 Mon Sep 17 00:00:00 2001 From: "Travis A. O'Brien" Date: Sun, 5 Nov 2023 13:38:36 -0500 Subject: [PATCH 2/2] fix to push on release --- .github/workflows/wheels.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b019001..2e00188 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -13,8 +13,9 @@ on: types: - published push: - tags: - - '*' + branches: + - main + concurrency: group: wheels-${{ github.head_ref }} @@ -132,7 +133,6 @@ jobs: name: Upload if release needs: [build_wheels, build_arch_wheels, build_sdist] runs-on: ubuntu-latest - if: github.event_name == 'create' && github.ref_type == 'tag' steps: - uses: actions/download-artifact@v3 @@ -144,5 +144,6 @@ jobs: run: ls -lh dist - uses: pypa/gh-action-pypi-publish@release/v1 + if: github.event_name == 'release' && github.event.action == 'published' with: password: ${{ secrets.pypi_password }}