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:
125
125
if-no-files-found : error
126
126
127
127
create-release :
128
- if : startswith(github.ref, 'refs/tagsv ')
128
+ if : startswith(github.ref, 'refs/tags ')
129
129
runs-on : ubuntu-latest
130
130
needs : [create-assets]
131
131
permissions :
Original file line number Diff line number Diff line change 86
86
with :
87
87
python-version : ' 3.x'
88
88
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 }}
92
89
- name : Build wheels
93
90
uses : PyO3/maturin-action@v1
94
91
with :
@@ -150,7 +147,7 @@ jobs:
150
147
- name : Publish to PyPI
151
148
uses : PyO3/maturin-action@v1
152
149
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).
154
151
# A token should not be required (and actually is discouraged with trusted publishers).
155
152
# MATURIN_PYPI_TOKEN: ${{ contains(github.ref_name, 'rc') && secrets.TEST_PYPI_API_TOKEN || secrets.PYPI_API_TOKEN }}
156
153
MATURIN_REPOSITORY : ${{ contains(github.ref_name, 'rc') && 'test-pypi' || 'pypi' }}
You can’t perform that action at this time.
0 commit comments