fix: quote VERSION in jq command in release (#5845)
This commit is contained in:
parent
3182be634e
commit
83c3453f50
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user