Skip to content

Commit 1e97767

Browse files
authored
Setup pkg version from tag (#11)
1 parent 3cc9537 commit 1e97767

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish-release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ jobs:
117117
pip install build
118118
pip install numpy
119119
120+
- name: Setup python version
121+
if: ${{ matrix.main }}
122+
run: |
123+
sed -i 's/\(version = "[^"]*\)"/${{ github.ref_name }}"/' pyproject.toml
124+
120125
- name: Add Matlab version specifier
121126
if: ${{ !matrix.main }}
122127
run: |

0 commit comments

Comments
 (0)