From ee89347df5b6c6da94a2ebdf1f913dea0dcaf1bc Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 26 Jun 2019 14:14:58 -0700 Subject: [PATCH] azure: Build.Reason in both places --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2fa0cae97..f848f2123 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -166,7 +166,7 @@ jobs: isPreRelease: false isDraft: false - task: GithubRelease@0 - condition: and(succeeded(), eq(variables['BUILD_REASON'], 'Schedule')) + condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule')) displayName: Release from nightly build inputs: gitHubConnection: wez