From 2eb1b42ee8e22c20c9efc3d7b9e57ec43fa21e68 Mon Sep 17 00:00:00 2001 From: Michael Mainer <8527305+MIchaelMainer@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:07:13 -0700 Subject: [PATCH 1/2] ci: set deployment to occur either manually or tagged commit --- .azure-pipelines/ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 13c83fb1405..75266bd330d 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -246,7 +246,7 @@ extends: TargetFolder: '$(Build.ArtifactStagingDirectory) ' - stage: deploy - condition: and(contains(variables['build.sourceBranch'], 'refs/heads/main'), succeeded()) + condition: or(and(contains(variables['Build.SourceBranch'], 'refs/tags/'), succeeded()), eq(variables['Build.Reason'], 'Manual')) dependsOn: build jobs: - deployment: deploy_nuget From 65278592b0b6cbedb07fcf9dd85fccb57a153767 Mon Sep 17 00:00:00 2001 From: Michael Mainer <8527305+MIchaelMainer@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:38:43 -0700 Subject: [PATCH 2/2] Update .azure-pipelines/ci-build.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .azure-pipelines/ci-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 75266bd330d..8f06f838906 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -246,7 +246,7 @@ extends: TargetFolder: '$(Build.ArtifactStagingDirectory) ' - stage: deploy - condition: or(and(contains(variables['Build.SourceBranch'], 'refs/tags/'), succeeded()), eq(variables['Build.Reason'], 'Manual')) + condition: or(and(contains(variables['build.sourceBranch'], 'refs/tags/'), succeeded()), eq(variables['Build.Reason'], 'Manual')) dependsOn: build jobs: - deployment: deploy_nuget