mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
26 lines
758 B
Bash
26 lines
758 B
Bash
#!/bin/sh
|
|
|
|
. ./scripts/env.sh
|
|
. ./build/tfs/common/common.sh
|
|
|
|
(cd $BUILD_SOURCESDIRECTORY/build/tfs/common && \
|
|
step "Install build dependencies" \
|
|
npm i)
|
|
|
|
REPO=`pwd`
|
|
ZIP=$REPO/../VSCode-darwin-selfsigned.zip
|
|
UNSIGNEDZIP=$REPO/../VSCode-darwin-unsigned.zip
|
|
BUILD=$REPO/../VSCode-darwin
|
|
PACKAGEJSON=`ls $BUILD/*.app/Contents/Resources/app/package.json`
|
|
VERSION=`node -p "require(\"$PACKAGEJSON\").version"`
|
|
|
|
rm -rf $UNSIGNEDZIP
|
|
(cd $BUILD && \
|
|
step "Create unsigned archive" \
|
|
zip -r -X -y $UNSIGNEDZIP *)
|
|
|
|
step "Upload unsigned archive" \
|
|
node build/tfs/common/publish.js $VSCODE_QUALITY darwin archive-unsigned VSCode-darwin-$VSCODE_QUALITY-unsigned.zip $VERSION false $UNSIGNEDZIP
|
|
|
|
step "Sign build" \
|
|
node build/tfs/common/enqueue.js $VSCODE_QUALITY |