appveyor.yml: Tried another approach to get pandoc version.
commit80fc5bcdf0d8c2a417baa9d9688c44f014f2a8f1
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 27 Sep 2015, 16:26 (11 years ago)
parentf7e02b1
appveyor.yml+1−4
@@ -28,10 +28,7 @@ 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=1-2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do (
32− @set VERSION=%%b
33− goto :next
34− )
31+ for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do set "VERSION=%%a"
3532 :next
3633 if "%VERSION%" == "" (
3734 echo Error: could not determine version number.