File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ install:
36
36
# - nuget restore PowerShellEditorServices.sln
37
37
38
38
build_script :
39
- - ps : |
40
- ./build.ps1 -Configuration Release -BuildNumber $env:APPVEYOR_BUILD_NUMBER -PackageNuget -PackageModule
39
+ - ps : ./build.ps1 -Configuration Release -BuildNumber $env:APPVEYOR_BUILD_NUMBER -PackageNuget -PackageModule
40
+
41
+ after_build :
42
+ - ps : Get-ChildItem -Path "release/BuiltPackages/*" -Include "*.nupkg", "*.zip" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
41
43
42
44
# test:
43
45
# assemblies:
Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ if ($PackageModule.IsPresent) {
107
107
}
108
108
109
109
if ($PackageNuget.IsPresent ) {
110
- Write-Host " `n Creating NuGet packages...`n " - ForegroundColor Yellow
110
+ Write-Host " `n Creating NuGet packages..." - ForegroundColor Yellow
111
111
112
112
foreach ($projectPath in $projectPaths ) {
113
113
Push-Location (Join-Path $PSScriptRoot $projectPath )
114
114
& dotnet pack - o $packagesPath -- no- build -- configuration $Configuration -- version- suffix $BuildNumber | Out-Null
115
115
Pop-Location
116
116
117
117
if ($LASTEXITCODE -ne 0 ) {
118
- $success = false
118
+ $success = $ false
119
119
break
120
120
}
121
121
}
You can’t perform that action at this time.
0 commit comments