diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4bd52d7..74e463a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,7 +101,7 @@ jobs: path: ./wheelhouse/*.whl - testpypi: + pypi: needs: [wheel, sdist] runs-on: ubuntu-latest # upload to PyPI on every tag starting with 'v' @@ -130,3 +130,10 @@ jobs: TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} run: | twine upload --repository-url https://test.pypi.org/legacy/ dist/* + + - name: Upload to pypi + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + twine upload dist/* diff --git a/setup.py b/setup.py index 501e6cf..385189f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import setuptools from setuptools.command import build_ext -__version__ = '3.0.12' +__version__ = '3.0.13' _NAME = 'gcld3' REQUIREMENTS = ['pybind11 >= 2.5.0', 'wheel >= 0.34.2']