Skip to content

Commit 2ee64bb

Browse files
committed
linux build scripts
1 parent b48367a commit 2ee64bb

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

build/tfs/linux/frozen-check.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,11 @@ function getConfig(quality: string): Promise<Config> {
3939
}
4040

4141
getConfig(process.argv[2])
42-
.then(c => console.log(c.frozen), e => console.error(e));
42+
.then(config => {
43+
console.log(config.frozen);
44+
process.exit(0);
45+
})
46+
.catch(err => {
47+
console.error(err);
48+
process.exit(1);
49+
});

build/tfs/linux/product-build-linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ steps:
9191
# SNAP_PATH="$REPO/.build/linux/snap/$ARCH/$SNAP_FILENAME"
9292
9393
# Publish to MS repo
94-
AZURE_DOCUMENTDB_MASTERKEY="$(AZURE_DOCUMENTDB_MASTERKEY)" \
95-
IS_FROZEN="$(node build/tfs/linux/frozen-check.js $VSCODE_QUALITY)"
94+
IS_FROZEN="$(AZURE_DOCUMENTDB_MASTERKEY="$(AZURE_DOCUMENTDB_MASTERKEY)" node build/tfs/linux/frozen-check.js $VSCODE_QUALITY)"
9695
9796
if [ -z "$VSCODE_QUALITY" ]; then
9897
echo "VSCODE_QUALITY is not set, skipping repo package publish"

0 commit comments

Comments
 (0)