From 6247f94a74d570b27cca115f6cd9d6a00b7910b4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 7 Apr 2019 23:38:28 -0400 Subject: [PATCH] Fixed the only-on-tags check. This documentation is unclear. --- azure-pipelines/artifacts.yml | 1 + azure-pipelines/windows-artifacts.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/azure-pipelines/artifacts.yml b/azure-pipelines/artifacts.yml index 9a3161e2..cfb152e5 100644 --- a/azure-pipelines/artifacts.yml +++ b/azure-pipelines/artifacts.yml @@ -18,6 +18,7 @@ steps: popd displayName: 'Create Artifacts' - task: GitHubRelease@0 + condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') inputs: gitHubConnection: andlabs repositoryName: andlabs/libui diff --git a/azure-pipelines/windows-artifacts.yml b/azure-pipelines/windows-artifacts.yml index acf2831d..172aac83 100644 --- a/azure-pipelines/windows-artifacts.yml +++ b/azure-pipelines/windows-artifacts.yml @@ -18,6 +18,7 @@ steps: popd displayName: 'Create Artifacts' - task: GitHubRelease@0 + condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') inputs: gitHubConnection: andlabs repositoryName: andlabs/libui