appveyor.yml: another try in version extraction.
commit3dcadf7ed9d2230a5b10e61db1516db764a46f9b
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 27 Sep 2015, 18:46 (11 years ago)
parent15512a6
appveyor.yml+5−1
@@ -28,7 +28,11 @@ after_build:
2828 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
2929 .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
3030 copy COPYRIGHT COPYRIGHT.txt
31− for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do set "VERSION=%%a"
31+ for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do (
32+ set "VERSION=%%a"
33+ goto :next
34+ )
35+ :next
3236 if "%VERSION%" == "" (
3337 echo Error: could not determine version number.
3438 exit /b 1