mirror of
https://github.com/danog/code-server.git
synced 2024-12-14 18:28:13 +01:00
be3e823608
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
22 lines
562 B
Bash
Executable File
22 lines
562 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# publish the build
|
|
node build/azure-pipelines/common/createAsset.js \
|
|
darwin \
|
|
archive \
|
|
"VSCode-darwin-$VSCODE_QUALITY.zip" \
|
|
../VSCode-darwin.zip
|
|
|
|
if [ "$VSCODE_ARCH" == "x64" ]; then
|
|
# package Remote Extension Host
|
|
pushd .. && mv vscode-reh-darwin vscode-server-darwin && zip -Xry vscode-server-darwin.zip vscode-server-darwin && popd
|
|
|
|
# publish Remote Extension Host
|
|
node build/azure-pipelines/common/createAsset.js \
|
|
server-darwin \
|
|
archive-unsigned \
|
|
"vscode-server-darwin.zip" \
|
|
../vscode-server-darwin.zip
|
|
fi
|