diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2015-09-27 18:46:34 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2015-09-27 18:46:34 -0700 |
| commit | 3dcadf7ed9d2230a5b10e61db1516db764a46f9b (patch) | |
| tree | 0eee3fb877c77dd1e60b4c226b297451e7e2a7f3 | |
| parent | 15512a6c10e22de8ad75531a7db021a3c5791088 (diff) | |
| download | pandoc-3dcadf7ed9d2230a5b10e61db1516db764a46f9b.tar.gz | |
appveyor.yml: another try in version extraction.
| -rw-r--r-- | appveyor.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 248464eec..6fb60550d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,7 +28,11 @@ 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" + 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. exit /b 1 |
