From 55c5e067d0ae6f3a67dbcbfab44a144980c9baaf Mon Sep 17 00:00:00 2001 From: Akash Goel Date: Sat, 12 Sep 2026 01:30:53 -0700 Subject: [PATCH] Use a literal block for the Create GitHub Release step --- .github/workflows/publish_to_pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index a2b371321..b814ff6bf 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -84,7 +84,7 @@ jobs: - name: Create GitHub Release env: GITHUB_TOKEN: ${{ github.token }} - run: >- + run: | VERSION=$(python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])") gh release create \ "v${VERSION}" \