From 541aaff45e36d576f8fab48e6d5fac1de3210923 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Fri, 29 Sep 2023 23:05:26 -0400 Subject: [PATCH] Quote fix attempt #2 --- .github/workflows/publish-to-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-test.yaml b/.github/workflows/publish-to-test.yaml index 97707ff..9932d61 100644 --- a/.github/workflows/publish-to-test.yaml +++ b/.github/workflows/publish-to-test.yaml @@ -28,7 +28,7 @@ jobs: DEV_VERSION=${{ github.event.inputs.dev_version }} CURRENT_VERSION=$(awk -F= '/__version__ =/ {print $2}' llama_cpp/__init__.py | tr -d ' "') NEW_VERSION="${CURRENT_VERSION}.dev${DEV_VERSION}" - sed -i "s/__version__ = \\".*\\"/__version__ = \\"${NEW_VERSION}\\"/" llama_cpp/__init__.py + sed -i 's/__version__ = \".*\"/__version__ = \"'"${NEW_VERSION}"'\"/' llama_cpp/__init__.py - name: Install dependencies run: | python3 -m pip install --upgrade pip build