fix the sed command to replace the version w the tag
This commit is contained in:
2
.github/workflows/pypi.yml
vendored
2
.github/workflows/pypi.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- name: Update version in setup.py
|
||||
run: >-
|
||||
sed -E 's/version=\"([\d\.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py
|
||||
sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py
|
||||
|
||||
- name: Build a binary wheel
|
||||
run: >-
|
||||
|
||||
Reference in New Issue
Block a user