mirror of
https://github.com/coder/code-server.git
synced 2024-12-26 11:12:07 +03:00
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user