From e1f1114921da5a177ed43dc5ecea21cb3c17705d Mon Sep 17 00:00:00 2001 From: Nicholas Geneva Date: Sun, 18 Jul 2021 15:31:16 -0400 Subject: [PATCH] Update workflow --- .github/workflows/pypi-publish.yml | 24 +----------------------- setup.py | 2 +- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 9b03677..a500d9a 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -6,13 +6,9 @@ name: Build and upload to PyPI on: - push: - branches: - - main - release: types: - - published + - created jobs: build_wheels: @@ -55,24 +51,6 @@ jobs: with: path: dist/*.tar.gz - upload_testpypi: - needs: [build_wheels, build_sdist] - runs-on: ubuntu-latest - - # Uploads to testpypi occur every push to main - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - steps: - - uses: actions/download-artifact@v2 - with: - name: artifact - path: dist - - - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - upload_pypi: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest diff --git a/setup.py b/setup.py index 2d394b2..4534639 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ # For a discussion on single-sourcing the version across setup.py and the # project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='0.0.4', # Required + version='0.0.5', # Required # This is a one-line description or tagline of what your project does. This # corresponds to the "Summary" metadata field: