appveyor-artifacts.cmd: Use for to expand the wildcard.

`appveyor PushArtifact` doesn't seem to support wildcards.
This commit is contained in:
David Korth 2020-06-21 20:01:54 -04:00
parent dfe67722c5
commit f2ab97e9be

View File

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