From 50f019abef2758d273a0180995e409b13f053944 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 7 Apr 2019 23:00:50 -0400 Subject: [PATCH] Oops --- azure-pipelines/artifacts.yml | 4 +++- azure-pipelines/windows-artifacts.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines/artifacts.yml b/azure-pipelines/artifacts.yml index fa699fbc..f60a0d29 100644 --- a/azure-pipelines/artifacts.yml +++ b/azure-pipelines/artifacts.yml @@ -1,5 +1,7 @@ # 6 april 2019 +# TODO the github task requires authorization for the connection on non-master branches but I can't seem to figure out how to do that with a YAML pipeline + parameters: os: '' arch: '' @@ -17,7 +19,7 @@ steps: rm ui.h ${{ parameters.osHeader }} popd displayName: 'Create Artifacts' -- {{ if eq(Build.SourceBranchName, "master") }} +- {{ if eq(Build.SourceBranchName, "master") }}: - task: GitHubRelease@0 inputs: gitHubConnection: andlabs diff --git a/azure-pipelines/windows-artifacts.yml b/azure-pipelines/windows-artifacts.yml index ed21e990..d5ff70b2 100644 --- a/azure-pipelines/windows-artifacts.yml +++ b/azure-pipelines/windows-artifacts.yml @@ -17,7 +17,7 @@ steps: Remove-Item @("ui.h","${{ parameters.osHeader }}") popd displayName: 'Create Artifacts' -- {{ if eq(Build.SourceBranchName, "master") }} +- {{ if eq(Build.SourceBranchName, "master") }}: - task: GitHubRelease@0 condition: eq(Build.SourceBranchName, "master") inputs: