Skip to content

Commit d2ed8b4

Browse files
committed
Fixed release workflow.
1 parent ff1ca72 commit d2ed8b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: 3.x
3333
- name: Setting correct version
3434
run: |
35-
python scripts/bump_version.py "${{ github.ref_name }}"
35+
python scripts/bump_version.py "${{ github.event.release.tag_name }}"
3636
- name: Build wheels
3737
uses: PyO3/maturin-action@v1
3838
with:
@@ -77,7 +77,7 @@ jobs:
7777
python-version: 3.x
7878
- name: Setting correct version
7979
run: |
80-
python scripts/bump_version.py "${{ github.ref_name }}"
80+
python scripts/bump_version.py "${{ github.event.release.tag_name }}"
8181
- name: Build wheels
8282
uses: PyO3/maturin-action@v1
8383
with:
@@ -126,7 +126,7 @@ jobs:
126126
architecture: ${{ matrix.platform.python_arch }}
127127
- name: Setting correct version
128128
run: |
129-
python scripts/bump_version.py "${{ github.ref_name }}"
129+
python scripts/bump_version.py "${{ github.event.release.tag_name }}"
130130
- name: Build wheels
131131
uses: PyO3/maturin-action@v1
132132
with:
@@ -162,7 +162,7 @@ jobs:
162162
python-version: 3.x
163163
- name: Setting correct version
164164
run: |
165-
python scripts/bump_version.py "${{ github.ref_name }}"
165+
python scripts/bump_version.py "${{ github.event.release.tag_name }}"
166166
- name: Build wheels
167167
uses: PyO3/maturin-action@v1
168168
with:
@@ -190,7 +190,7 @@ jobs:
190190
python-version: 3.x
191191
- name: Setting correct version
192192
run: |
193-
python scripts/bump_version.py "${{ github.ref_name }}"
193+
python scripts/bump_version.py "${{ github.event.release.tag_name }}"
194194
- name: Build sdist
195195
uses: PyO3/maturin-action@v1
196196
with:

0 commit comments

Comments
 (0)