mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 13:32:59 +08:00
fix: quote VERSION in jq command in release (#5845)
This commit is contained in:
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"
|
echo "Updating version in lib/vscode/product.json"
|
||||||
tmp=$(mktemp)
|
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
|
# Ensure it has the same permissions as before
|
||||||
chmod 644 release/lib/vscode/product.json
|
chmod 644 release/lib/vscode/product.json
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user