diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e2d083a..49544aa0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -87,10 +87,11 @@ jobs: run: mkdir dist && mv artifacts/wheels/* dist/ - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ + run: echo "push to test pypi" + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # password: ${{ secrets.TEST_PYPI_API_TOKEN }} + # repository_url: https://test.pypi.org/legacy/ - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') diff --git a/setup.py b/setup.py index 6ec6f3ce..0c5e9a3c 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,8 @@ def determine_version(): version, ) return version - elif sha == "unknown": + + if sha == "unknown": return version else: return version + "+" + sha[:7]