From b393d2ef0cc84391e22b5a1ccc6f914dea1cfbe1 Mon Sep 17 00:00:00 2001 From: Keith Zantow Date: Mon, 28 Jan 2019 11:07:02 -0500 Subject: [PATCH] Build the latest master code (#390) Former-commit-id: e98669a278c39b063f72f9bbe47ac246d703a437 [formerly 1bf261ca608ede37b6d706fdf38079a5ed763202] Former-commit-id: b0d04f37ec0a9ac140a2ff493e360be8b62bbe70 Former-commit-id: 40fc8d486d4856b2501adef24ebd88576fb1dcef --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3464f278564..a019eb90cd1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -128,3 +128,24 @@ jobs: condition: variables.isMac displayName: Publish macOS DMG +- job: NotifyReleases + dependsOn: Build + condition: succeeded() + + steps: + - checkout: none + + - task: DownloadSecureFile@1 + inputs: + secureFile: notify-releases.sh + + - bash: | + if ! [[ $SURGE_BRANCH =~ ^(master|release/.+)$ ]]; then + exit + fi + + echo "Notifying releases..." + + sh $AGENT_TEMPDIRECTORY/notify-releases.sh + displayName: Notify Releases +