mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-17 11:03:14 -04:00
* Check for signed variable * Check for signed * use variable syntax * Signed has to be upper case
17 lines
524 B
Bash
Executable File
17 lines
524 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
REPO="$(pwd)"
|
|
|
|
# ensure drop directories exist
|
|
mkdir -p $REPO/.build/darwin/{archive,server}
|
|
|
|
# remove pkg from archive
|
|
if [[ "$SIGNED" == "true" ]]; then
|
|
zip -d $REPO/.build/darwin/archive/azuredatastudio-darwin.zip "*.pkg"
|
|
fi
|
|
|
|
# package Remote Extension Host
|
|
pushd .. && mv azuredatastudio-reh-darwin azuredatastudio-server-darwin && zip -Xry $REPO/.build/darwin/server/azuredatastudio-server-darwin.zip azuredatastudio-server-darwin && popd
|
|
|
|
node build/azure-pipelines/common/copyArtifacts.js
|