rom-properties/appveyor-artifacts.cmd
David Korth e6bd641911 appveyor-artifacts.cmd: Check %APPVEYOR_BUILD_WORKER_IMAGE% instead of %COMPILER%.
%COMPILER% *used* to be set when using msvc2013, but it isn't set when
building with msvc2015.
2023-07-06 22:12:42 -04:00

10 lines
283 B
Batchfile

@ECHO OFF
if not "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" exit /b 0
if not "%CONFIGURATION%" == "Release" exit /b 0
cpack --version
cpack -C "%CONFIGURATION%"
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
for %%z in (*.zip) do appveyor PushArtifact "%%z"
exit /b %ERRORLEVEL%