Adding an explicit exit 0 when NoPackage is used so that VSO knows it succeeded.
Also added a package.cmd to be used by VSO as well.
This commit is contained in:
parent
0e4719ee95
commit
7dc2fa20a5
2 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,7 @@ _ "$RepoRoot\scripts\test\validate-dependencies.ps1"
|
|||
|
||||
if ($NoPackage){
|
||||
info "Skipping Packaging"
|
||||
exit 0
|
||||
}
|
||||
else {
|
||||
_ "$RepoRoot\scripts\package\package.ps1"
|
||||
|
|
6
scripts/package/package.cmd
Normal file
6
scripts/package/package.cmd
Normal file
|
@ -0,0 +1,6 @@
|
|||
@echo off
|
||||
|
||||
REM Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
powershell -NoProfile -NoLogo -Command "%~dp0package.ps1 %*; exit $LastExitCode;"
|
Loading…
Add table
Reference in a new issue