return an exit code in publish script

This commit is contained in:
IntelOrca 2015-12-24 17:21:44 +00:00
parent 7df3630ea2
commit 36581bd664
1 changed files with 1 additions and 0 deletions

View File

@ -178,3 +178,4 @@ switch ($Task)
default { Write-Host "Unknown publish task." -ForegroundColor Red
$result = 1 }
}
exit $result