X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/057fdeb071bdb8106c38cb1ee60dbc42f0aa04a3..21aaad6dfe5d9b38d7b536486c821365a0d8e76c:/.github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 220e398..ce2635b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,5 +29,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/*