From f140fc1938aafa94bfc497e5806fc8a6cf64de30 Mon Sep 17 00:00:00 2001 From: Cailyn Sinclair Date: Wed, 30 Sep 2026 06:37:47 -0700 Subject: [PATCH] fix: quote npm dist-tag expression Parse the Node expression as one shell argument so release publishing can select the npm tag. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7685e99..3f59a09 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,8 @@ jobs: VERSION: ${{ steps.release.outputs.version }} run: | if [[ "$VERSION" == *-* ]]; then - echo "tag=$(node -p \"process.env.VERSION.split('-')[1].split('.')[0]\")" >> "$GITHUB_OUTPUT" + tag="$(node -p 'process.env.VERSION.split("-")[1].split(".")[0]')" + echo "tag=$tag" >> "$GITHUB_OUTPUT" else echo "tag=latest" >> "$GITHUB_OUTPUT" fi