appveyor: Fixed version detection.
commit9eb3dba243cf88e6e4d852161a308e815ef626d7
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 2 Jun 2016, 22:53 (10 years ago)
parent9ea7c7f
appveyor.yml+1−1
@@ -37,7 +37,7 @@ after_test:
3737 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
3838 - cd windows
3939 - 7z a "pandoc.zip" pandoc.exe"
40− - for /f "tokens=2 delims= " %%a in ('pandoc --version') do ( set "VERSION=%%a" && exit )
40+ - for /f "tokens=2 delims= " %%a in ('.\pandoc.exe --version') do ( set "VERSION=%%a" && exit )
4141 - .\pandoc.exe -s -S ..\README -o README.html
4242 - .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
4343 - copy ..\COPYRIGHT COPYRIGHT.txt