From 7298bf4bd1c1cd2d0d39d06cccf4ef18d48b8c95 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 28 Feb 2020 11:51:14 +0100 Subject: [PATCH] make sure unnotarized build is published even if notarization fails --- build/azure-pipelines/darwin/product-build-darwin.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/azure-pipelines/darwin/product-build-darwin.yml b/build/azure-pipelines/darwin/product-build-darwin.yml index 795bc78556ebf..cbfcbfc50ea6e 100644 --- a/build/azure-pipelines/darwin/product-build-darwin.yml +++ b/build/azure-pipelines/darwin/product-build-darwin.yml @@ -179,6 +179,13 @@ steps: zip -d $(agent.builddirectory)/VSCode-darwin.zip "*.pkg" displayName: Clean Archive +- script: | + set -e + AZURE_DOCUMENTDB_MASTERKEY="$(builds-docdb-key-readwrite)" \ + AZURE_STORAGE_ACCESS_KEY_2="$(vscode-storage-key)" \ + node build/azure-pipelines/common/createAsset.js darwin-unnotarized archive "VSCode-darwin-$VSCODE_QUALITY.zip" $(agent.builddirectory)/VSCode-darwin.zip + displayName: Publish Unnotarized Build + - script: | APP_ROOT=$(agent.builddirectory)/VSCode-darwin APP_NAME="`ls $APP_ROOT | head -n 1`"