From 17004f014e92449b45da3c6aea6d71a7749528ae Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sat, 18 May 2019 00:03:46 -0400 Subject: [PATCH] Make GitHub release only happen on successful build --- .ci/azure-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index a7720d42..5450603c 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -12,6 +12,7 @@ steps: ./.ci/script.sh sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true cp ./.ci/bintray-release.json . + failOnStderr: 'true' - task: CopyFiles@2 inputs: #sourceFolder: # Optional @@ -23,6 +24,7 @@ steps: #overWrite: false # Optional #flattenFolders: false # Optional - task: GitHubRelease@0 + condition: succeeded() inputs: gitHubConnection: nheko-reborn-pipeline repositoryName: '$(Build.Repository.Name)'