summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-09-27 21:16:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-09-27 21:16:03 -0700
commit01ddeda11f5a4feca16324108478badb97a2904e (patch)
tree57a26081bdd6fd94a370eae3fc5d490ece46947c /appveyor.yml
parent057c75465d52606d2cb580f093e8c2876dc6e924 (diff)
appveyor.yml: Another attempt to set VERSION.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml3
1 files changed, 1 insertions, 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