From 59714980c9c0900d4f31479feac3a98e1cdc6233 Mon Sep 17 00:00:00 2001
From: JC Aguilera <juanam@microsoft.com>
Date: Fri, 11 Sep 2020 09:05:25 -0700
Subject: [PATCH] Condition VS.Redist.* to PostBuildSign (#25793)

---
 .azure/pipelines/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml
index a7dc48c1289..b705f9c565e 100644
--- a/.azure/pipelines/ci.yml
+++ b/.azure/pipelines/ci.yml
@@ -218,7 +218,7 @@ stages:
         displayName: Build Installers
 
       # A few files must also go to the VS package feed.
-      - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+      - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['PostBuildSign'], 'true')) }}:
         - task: NuGetCommand@2
           displayName: Push Visual Studio packages
           inputs:
-- 
GitLab