diff options
author | chcosta <chcosta@microsoft.com> | 2016-04-25 23:31:05 +0300 |
---|---|---|
committer | chcosta <chcosta@microsoft.com> | 2016-04-25 23:31:05 +0300 |
commit | 284e2a8ecdf363ce763fb0762a5a94d1fa38896a (patch) | |
tree | 84baed3351eae761082e2e92b5df2d7d6ed9ec3e /publish-packages.cmd | |
parent | a06d4c764d8ab6a8b430974c05d17c97b0641a32 (diff) |
Set exit codes for wrapper scripts if there is an error. (#8014)
Diffstat (limited to 'publish-packages.cmd')
-rw-r--r-- | publish-packages.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/publish-packages.cmd b/publish-packages.cmd index efb615f063..9c1f9b45d6 100644 --- a/publish-packages.cmd +++ b/publish-packages.cmd @@ -18,7 +18,7 @@ echo msbuild.exe %~dp0src\publish.proj !options! !allargs! >> %packagesLog% call msbuild.exe %~dp0src\publish.proj !options! !allargs! if NOT [%ERRORLEVEL%]==[0] ( echo ERROR: An error occurred while publishing packages, see %packagesLog% for more details. - exit /b + exit /b 1 ) echo Done publishing packages. |