marksaroufim
commited on
Fix broken pypi.yml (#1099) [skip ci]
Browse files
.github/workflows/pypi.yml
CHANGED
@@ -34,11 +34,11 @@ jobs:
|
|
34 |
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
|
35 |
|
36 |
- name: Update version in setup.py
|
37 |
-
run:
|
38 |
sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py
|
39 |
|
40 |
- name: Build a binary wheel
|
41 |
-
run:
|
42 |
python setup.py sdist bdist_wheel
|
43 |
|
44 |
- name: Publish package distributions to PyPI
|
|
|
34 |
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
|
35 |
|
36 |
- name: Update version in setup.py
|
37 |
+
run: |
|
38 |
sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py
|
39 |
|
40 |
- name: Build a binary wheel
|
41 |
+
run: |
|
42 |
python setup.py sdist bdist_wheel
|
43 |
|
44 |
- name: Publish package distributions to PyPI
|