From 403dae3864fdbc06a28ee846a1e86b021925d7e3 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Fri, 3 Nov 2017 14:21:18 -0700 Subject: [PATCH] Disable publishing if no publish type is specified This is first step for configuring publish, there will need to be some further refactoring to make the publishing what we need for orchestrated builds. Commit migrated from https://github.com/dotnet/core-setup/commit/75bed989ccb49da15048108cf1fe8ac379c3e461 --- src/installer/buildpipeline/Core-Setup-Publish.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/installer/buildpipeline/Core-Setup-Publish.json b/src/installer/buildpipeline/Core-Setup-Publish.json index 1c73d58..c6d1620 100644 --- a/src/installer/buildpipeline/Core-Setup-Publish.json +++ b/src/installer/buildpipeline/Core-Setup-Publish.json @@ -223,6 +223,7 @@ "continueOnError": false, "alwaysRun": false, "displayName": "Publish", + "condition": "and(succeeded(), ne(variables.PB_PublishType, ''))", "timeoutInMinutes": 0, "task": { "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824", -- 2.7.4