rom-properties/appveyor-artifacts.cmd
David Korth f2ab97e9be appveyor-artifacts.cmd: Use for to expand the wildcard.
`appveyor PushArtifact` doesn't seem to support wildcards.
2020-06-21 20:01:54 -04:00

10 lines
257 B
Batchfile

@ECHO OFF
if not "%compiler%" == "msvc2013" exit /b 0
if not "%configuration%" == "Release" exit /b 0
cpack --version
cpack -C "%configuration%"
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
for /r %%z in (*.zip) do appveyor PushArtifact "%%z"
exit /b %ERRORLEVEL%