File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 5050 .\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeVersion (!$hasTag)
5151 after_build :
5252 - ps : >
53- if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) {
53+ $bypassPackaging = $env:APPVEYOR_PULL_REQUEST_NUMBER -and -not $env:APPVEYOR_PULL_REQUEST_TITLE.Contains("[pack]")
54+
55+ if ($bypassPackaging) {
56+ Write-Host "Bypassing artifact publishing for pull request." -ForegroundColor Yellow
57+ } else {
5458 Get-ChildItem buildoutput\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Binaries" }
5559
5660 Get-ChildItem buildoutput\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Runtime" }
57- } else {
58- Write-Host "Bypassing artifact publishing for pull request." -ForegroundColor Yellow
5961 }
6062 test_script :
6163 - ps : >
You can’t perform that action at this time.
0 commit comments