will you be happy now?

This commit is contained in:
cool.gitter.not.me.again.duh
2025-05-31 16:53:39 -06:00
parent 3489d56e65
commit db0d3d4ddd
3 changed files with 5 additions and 5 deletions

View File

@@ -33,14 +33,14 @@ jobs:
- name: Update version in setup.py
run: |
VERSION_TAG="${{ steps.get_version.outputs.VERSION }}"
sed -i "s/\\\\(version *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" setup.py
sed -i "s/version="[^"]*"/version="${VERSION_TAG}""/" setup.py
echo "Updated setup.py to version $VERSION_TAG for build:"
cat setup.py
- name: Update version in librespot/__init__.py
run: |
VERSION_TAG="${{ steps.get_version.outputs.VERSION }}"
sed -i "s/\\\\(version_name *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" librespot/__init__.py
sed -i "s/version_name = \".*\"/version_name = \"${VERSION_TAG}\"/" librespot/__init__.py
echo "Updated librespot/__init__.py to version $VERSION_TAG for build:"
cat librespot/__init__.py