From ce85dbc48b1122c0f693606d4c2c5c2a57118a13 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 7 Dec 2022 15:04:26 -0700 Subject: [PATCH] fix: quote VERSION in jq command in release --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d39cdbf55feb..a0606135d582 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -321,7 +321,7 @@ jobs: echo "Updating version in lib/vscode/product.json" tmp=$(mktemp) - jq '.codeServerVersion = "$VERSION"' release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json + jq ".codeServerVersion = \"$VERSION\"" release/lib/vscode/product.json > "$tmp" && mv "$tmp" release/lib/vscode/product.json # Ensure it has the same permissions as before chmod 644 release/lib/vscode/product.json