From 534c6864c4059abacde87097babe7fa4b5299636 Mon Sep 17 00:00:00 2001 From: Rami Al-Rfou Date: Tue, 18 Aug 2020 21:51:39 -0700 Subject: [PATCH] Add pypi to workflow --- .github/workflows/main.yml | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4bd52d7..f75a541 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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']