File tree 2 files changed +6
-4
lines changed 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (
10
10
11
11
echo ASPNETCORE_REPO: %remote_repo%
12
12
13
- robocopy . %remote_repo% \src\Shared\runtime /MIR
14
- robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo% \src\Shared\test\Shared.Tests\runtime /MIR
13
+ REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
14
+ (robocopy . %remote_repo% \src\Shared\runtime /MIR) ^ & IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
15
+ (robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo% \src\Shared\test\Shared.Tests\runtime /MIR) ^ & IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
Original file line number Diff line number Diff line change @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (
10
10
11
11
echo RUNTIME_REPO: %remote_repo%
12
12
13
- robocopy . %remote_repo% \src\libraries\Common\src\System\Net\Http\aspnetcore /MIR
14
- robocopy .\..\test\Shared.Tests\runtime %remote_repo% \src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR
13
+ REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
14
+ (robocopy . %remote_repo% \src\libraries\Common\src\System\Net\Http\aspnetcore /MIR) ^ & IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
15
+ (robocopy .\..\test\Shared.Tests\runtime %remote_repo% \src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR) ^ & IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
You can’t perform that action at this time.
0 commit comments