mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-26 12:15:26 +00:00
15 lines
408 B
Bash
15 lines
408 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
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
|