Compare commits

..

1 Commits

Author SHA1 Message Date
Joe Previte
0f66360646 fix: keep product.json file permissions in release
When we added the change to modify the `package.json` version using `mv`
and `jq` we didn't account for lost file permissions.

This caused a bug only happening in CI.

This should fix it by giving it 755 via `chmod`.
2022-12-02 11:03:20 -07:00

View File

@@ -322,6 +322,8 @@ 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
# Ensure it has the same permissions as before
chmod 755 release/lib/vscode/product.json
- name: Compress release package
run: tar -czf package.tar.gz release