SEBWIN-344: Second attempt to fix return value of robocopy commands on release build server.

This commit is contained in:
dbuechel 2019-11-07 13:16:55 +01:00
parent 79ba64b0a6
commit 7eec2dbaf9

View file

@ -27,9 +27,7 @@ for:
before_build:
- nuget restore
after_build:
- robocopy "Setup\bin\%PLATFORM%\%CONFIGURATION%" "%TEMP%" Setup.msi
if %ERRORLEVEL% geq 8 exit 1
exit 0
- robocopy "Setup\bin\%PLATFORM%\%CONFIGURATION%" "%TEMP%" Setup.msi /is; if %ERRORLEVEL% geq 8 exit 1; exit 0
- appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
-
@ -38,9 +36,7 @@ for:
- platform: x86
before_build:
- nuget restore
- robocopy "%TEMP%" "Setup\bin\x64\%CONFIGURATION%" Setup.msi /mov
if %ERRORLEVEL% geq 8 exit 1
exit 0
- robocopy "%TEMP%" "Setup\bin\x64\%CONFIGURATION%" Setup.msi /mov; if %ERRORLEVEL% geq 8 exit 1; exit 0
after_build:
- appveyor PushArtifact "Setup\bin\%PLATFORM%\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_%PLATFORM%_Setup.msi" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup (%PLATFORM%)"
- appveyor PushArtifact "SetupBundle\bin\%PLATFORM%\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB %APPVEYOR_BUILD_VERSION% Setup Bundle"