mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
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.
This commit is contained in:
parent
d3cafba1bd
commit
e6bd641911
@ -1,11 +1,9 @@
|
|||||||
@ECHO ON
|
@ECHO OFF
|
||||||
echo compiler: %compiler%
|
if not "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" exit /b 0
|
||||||
echo configuration: %configuration%
|
if not "%CONFIGURATION%" == "Release" exit /b 0
|
||||||
if not "%compiler%" == "msvc2015" exit /b 0
|
|
||||||
if not "%configuration%" == "Release" exit /b 0
|
|
||||||
|
|
||||||
cpack --version
|
cpack --version
|
||||||
cpack -C "%configuration%"
|
cpack -C "%CONFIGURATION%"
|
||||||
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
|
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
|
||||||
for %%z in (*.zip) do appveyor PushArtifact "%%z"
|
for %%z in (*.zip) do appveyor PushArtifact "%%z"
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
|
Loading…
Reference in New Issue
Block a user