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:
Livar Cunha 2016-01-12 10:37:12 -08:00
parent 0e4719ee95
commit 7dc2fa20a5
2 changed files with 7 additions and 0 deletions

View file

@ -45,6 +45,7 @@ _ "$RepoRoot\scripts\test\validate-dependencies.ps1"
if ($NoPackage){
info "Skipping Packaging"
exit 0
}
else {
_ "$RepoRoot\scripts\package\package.ps1"

View 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;"