Skip to content

Commit 6d198cd

Browse files
committed
FIXUP: Misc updates to first ccmmit
1 parent 69cd810 commit 6d198cd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ install:
3636
# - nuget restore PowerShellEditorServices.sln
3737

3838
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 }
4143

4244
# test:
4345
# assemblies:

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ if ($PackageModule.IsPresent) {
107107
}
108108

109109
if ($PackageNuget.IsPresent) {
110-
Write-Host "`nCreating NuGet packages...`n" -ForegroundColor Yellow
110+
Write-Host "`nCreating NuGet packages..." -ForegroundColor Yellow
111111

112112
foreach ($projectPath in $projectPaths) {
113113
Push-Location (Join-Path $PSScriptRoot $projectPath)
114114
& dotnet pack -o $packagesPath --no-build --configuration $Configuration --version-suffix $BuildNumber | Out-Null
115115
Pop-Location
116116

117117
if ($LASTEXITCODE -ne 0) {
118-
$success = false
118+
$success = $false
119119
break
120120
}
121121
}

0 commit comments

Comments
 (0)