rom-properties/appveyor-artifacts.cmd

12 lines
315 B
Batchfile

@ECHO ON
echo compiler: %compiler%
echo configuration: %configuration%
if not "%compiler%" == "msvc2015" 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%