File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ jobs:
125125 if-no-files-found : error
126126
127127 create-release :
128- if : startswith(github.ref, 'refs/tagsv ')
128+ if : startswith(github.ref, 'refs/tags ')
129129 runs-on : ubuntu-latest
130130 needs : [create-assets]
131131 permissions :
Original file line number Diff line number Diff line change 8686 with :
8787 python-version : ' 3.x'
8888 architecture : ${{ matrix.target }}
89- - name : Increment version
90- if : startsWith(github.ref, 'refs/tags/')
91- run : python .github/workflows/replace_version_spec.py --new-version=${{ github.ref_name }}
9289 - name : Build wheels
9390 uses : PyO3/maturin-action@v1
9491 with :
@@ -150,7 +147,7 @@ jobs:
150147 - name : Publish to PyPI
151148 uses : PyO3/maturin-action@v1
152149 env :
153- # This workflow id registered as a trusted publisher (for test-pypi and pypi).
150+ # This workflow is registered as a trusted publisher (for test-pypi and pypi).
154151 # A token should not be required (and actually is discouraged with trusted publishers).
155152 # MATURIN_PYPI_TOKEN: ${{ contains(github.ref_name, 'rc') && secrets.TEST_PYPI_API_TOKEN || secrets.PYPI_API_TOKEN }}
156153 MATURIN_REPOSITORY : ${{ contains(github.ref_name, 'rc') && 'test-pypi' || 'pypi' }}
You can’t perform that action at this time.
0 commit comments