Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.

Commit 0864b14

Browse files
authored
Merge pull request #37 from aboSamoor/master
PYPI upload action
2 parents 3b90e7c + 4751b37 commit 0864b14

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
path: ./wheelhouse/*.whl
102102

103103

104-
testpypi:
104+
pypi:
105105
needs: [wheel, sdist]
106106
runs-on: ubuntu-latest
107107
# upload to PyPI on every tag starting with 'v'
@@ -130,3 +130,10 @@ jobs:
130130
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
131131
run: |
132132
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
133+
134+
- name: Upload to pypi
135+
env:
136+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
137+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
138+
run: |
139+
twine upload dist/*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import setuptools
88
from setuptools.command import build_ext
99

10-
__version__ = '3.0.12'
10+
__version__ = '3.0.13'
1111
_NAME = 'gcld3'
1212

1313
REQUIREMENTS = ['pybind11 >= 2.5.0', 'wheel >= 0.34.2']

0 commit comments

Comments
 (0)