Only deploy to NuGet from master [NugetDeploy]

This commit is contained in:
Jordan Brown
2020-03-30 14:40:54 -04:00
parent cc620c6e5f
commit 0c519ad43d
+1 -1
View File
@@ -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"
}