From 0c519ad43d5a90f3993ec8f2baaa278c3da67cf3 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 30 Mar 2020 14:40:54 -0400 Subject: [PATCH] Only deploy to NuGet from master [NugetDeploy] --- build/prep_deployment.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/prep_deployment.ps1 b/build/prep_deployment.ps1 index cb9e5b2cf7..aa403fa79d 100644 --- a/build/prep_deployment.ps1 +++ b/build/prep_deployment.ps1 @@ -21,7 +21,7 @@ if (($env:CONFIGURATION -match "Release") -And ($env:APPVEYOR_REPO_BRANCH -match } } -if ($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[NugetDeploy\]") { +if (($env:APPVEYOR_REPO_BRANCH -match "master") -And ($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[NugetDeploy\]")) { $env:NugetDeploy = "Do it." Write-Host "Nuget deployment enabled" } \ No newline at end of file