From 83c3453f5050aca908e6abb5ab0d47feb7045a0f Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 7 Dec 2022 15:19:20 -0700 Subject: [PATCH] fix: quote VERSION in jq command in release (#5845) --- .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 d39cdbf55..a0606135d 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