diff --git a/appveyor-artifacts.cmd b/appveyor-artifacts.cmd index 386a9034b..8084d5ff7 100644 --- a/appveyor-artifacts.cmd +++ b/appveyor-artifacts.cmd @@ -1,11 +1,9 @@ -@ECHO ON -echo compiler: %compiler% -echo configuration: %configuration% -if not "%compiler%" == "msvc2015" exit /b 0 -if not "%configuration%" == "Release" exit /b 0 +@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%" +cpack -C "%CONFIGURATION%" if ERRORLEVEL 1 exit /b %ERRORLEVEL% for %%z in (*.zip) do appveyor PushArtifact "%%z" exit /b %ERRORLEVEL%