mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Only deploy to NuGet from master [NugetDeploy]
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user