File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if ($Trace) { Set-PSDebug -Trace 1 }
17
17
Trap {
18
18
Write-Output " Error getting artifacts"
19
19
Write-Output " Error: $_ "
20
- exit 0
20
+ exit -1
21
21
}
22
22
23
23
Write-Output " $Manifest $Out "
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ if ($Trace) {
62
62
$baseInstall = " Packages\$pkgName "
63
63
$outDir = $artifactDir
64
64
65
- Write-Verbose " $packagingScriptsDir \run.ps1 -Source $pkgSrcDir -Out $artifactDir -Name $pkgName -Version $Version $extrasDir -Ignore $ignorefile -BaseInstall $baseInstall "
65
+ Write-Verbose " $packagingScriptsDir \run.ps1 -Source $pkgSrcDir -Out $artifactDir -Name $pkgName -Version $Version -Ignore $ignorefile -BaseInstall $baseInstall "
66
66
Write-Output " Packaging $pkgName ..."
67
67
Run- Command - Fatal { & $packagingScriptsDir \run.ps1 - Source $pkgSrcDir - Out $artifactDir - Name $pkgName - Version $Version - Ignore $ignorefile - BaseInstall $baseInstall - Tmp $tmpDir - SkipUnity:$SkipUnity - SkipPackman:$SkipPackman - SkipUpm:$SkipUpm }
68
68
@@ -72,7 +72,7 @@ if ($Trace) {
72
72
$baseInstall = " Packages\$pkgName "
73
73
$outDir = $artifactDir
74
74
75
- Write-Verbose " $packagingScriptsDir \run.ps1 -Source $pkgSrcDir -Out $artifactDir -Name $pkgName -Version $Version $extrasDir -Ignore $ignorefile -BaseInstall $baseInstall "
75
+ Write-Verbose " $packagingScriptsDir \run.ps1 -Source $pkgSrcDir -Out $artifactDir -Name $pkgName -Version $Version -Ignore $ignorefile -BaseInstall $baseInstall "
76
76
Write-Output " Packaging $pkgName ..."
77
77
Run- Command - Fatal { & $packagingScriptsDir \run.ps1 - Source $pkgSrcDir - Out $artifactDir - Name $pkgName - Version $Version - Ignore $ignorefile - BaseInstall $baseInstall - Tmp $tmpDir - SkipUnity:$SkipUnity - SkipPackman:$SkipPackman - SkipUpm:$SkipUpm }
78
78
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if ($Trace) { Set-PSDebug -Trace 1 }
28
28
Trap {
29
29
Write-Output " Setting version failed"
30
30
Write-Output " Error: $_ "
31
- exit 0
31
+ exit -1
32
32
}
33
33
34
34
Write-Verbose " Set-Version: NewVersion: $NewVersion BumpMajor: $BumpMajor BumpMinor: $BumpMinor BumpPatch: $BumpPatch BumpBuild: $BumpBuild "
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if ($Trace) { Set-PSDebug -Trace 1 }
15
15
Trap {
16
16
Write-Output " Error uploading artifacts"
17
17
Write-Output " Error: $_ "
18
- exit 0
18
+ exit -1
19
19
}
20
20
21
21
Get-Content $Manifest | ConvertFrom-Json | Get-ObjectMembers | % {
You can’t perform that action at this time.
0 commit comments