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