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 50
50
.\build.ps1 -buildNumber "$env:APPVEYOR_BUILD_NUMBER" -includeVersion (!$hasTag)
51
51
after_build :
52
52
- 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 {
54
58
Get-ChildItem buildoutput\*.nupkg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Binaries" }
55
59
56
60
Get-ChildItem buildoutput\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -DeploymentName "Runtime" }
57
- } else {
58
- Write-Host "Bypassing artifact publishing for pull request." -ForegroundColor Yellow
59
61
}
60
62
test_script :
61
63
- ps : >
You can’t perform that action at this time.
0 commit comments