From 1962129522038a17652266d3a81a51f79ec53823 Mon Sep 17 00:00:00 2001 From: "cool.gitter.not.me.again.duh" Date: Sat, 31 May 2025 16:28:26 -0600 Subject: [PATCH] update workflow --- .github/workflows/publish-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 54e5a40..52ec8fc 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -29,14 +29,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 *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" 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 *= *[\\\\\\"']\\\\)[^\\\\\\"']*\([\\\\\\"']\\\\)/\\\\1$VERSION_TAG\\\\2/" librespot/__init__.py echo "Updated librespot/__init__.py to version $VERSION_TAG for build:" cat librespot/__init__.py