mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Check for signed variable (#8682)
* Check for signed variable * Check for signed * use variable syntax * Signed has to be upper case
This commit is contained in:
@@ -6,7 +6,9 @@ REPO="$(pwd)"
|
||||
mkdir -p $REPO/.build/darwin/{archive,server}
|
||||
|
||||
# remove pkg from archive
|
||||
zip -d $REPO/.build/darwin/archive/azuredatastudio-darwin.zip "*.pkg"
|
||||
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
|
||||
|
||||
@@ -129,6 +129,7 @@ steps:
|
||||
}
|
||||
]
|
||||
SessionTimeout: 20
|
||||
condition: and(succeeded(), eq(variables['signed'], true))
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user