Skip to content

Commit

Permalink
New release.yml but with single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed Jul 22, 2022
1 parent fca15d5 commit 3772f60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ jobs:
TWINE_USERNAME: ${{ secrets.pypi_username }}
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
for file in $(find -not -path './.*' -not -path './docs*' -name '*.py'); do
sed -i -e 's/0.0.0-auto.0/${{github.event.release.tag_name}}/' $file;
done;
python setup.py sdist
twine upload dist/*

0 comments on commit 3772f60

Please sign in to comment.