appveyor.yml: put whole for loop on one line.
This commit is contained in:
parent
3dcadf7ed9
commit
057c75465d
1 changed files with 1 additions and 4 deletions
|
@ -28,10 +28,7 @@ after_build:
|
|||
.\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
|
||||
.\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
|
||||
copy COPYRIGHT COPYRIGHT.txt
|
||||
for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do (
|
||||
set "VERSION=%%a"
|
||||
goto :next
|
||||
)
|
||||
for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && goto :next )
|
||||
:next
|
||||
if "%VERSION%" == "" (
|
||||
echo Error: could not determine version number.
|
||||
|
|
Loading…
Reference in a new issue