From 01ddeda11f5a4feca16324108478badb97a2904e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 27 Sep 2015 21:16:03 -0700 Subject: [PATCH] appveyor.yml: Another attempt to set VERSION. --- appveyor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6da9dae35..9a2584429 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,8 +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 ) - :next + for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && exit ) if "%VERSION%" == "" ( echo Error: could not determine version number. exit /b 1