summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-03 10:49:30 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-03 10:49:30 -0700
commitab55f956e454749faae32a670bc65017985169cf (patch)
tree596787176eef132741a83ec69bfb71e87404c3c8 /appveyor.yml
parent366b94d26bf03dd6c6e114d9f10e757f0c0f2e85 (diff)
appveyor: another attempt to get version set!
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 2bc4e4501..01e458fcd 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -40,12 +40,13 @@ after_test:
- .\pandoc.exe -s -S ..\README -o README.html
- .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
- copy ..\COPYRIGHT COPYRIGHT.txt
- - set "WIXPATH=C:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
- |
- for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( set VERSION=%%b && exit )
- - echo %VERSION%
- - '"%WIXPATH%\\candle" -dVERSION="%VERSION%" -dBINPATH=. pandoc.wxs'
- - '"%WIXPATH%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj'
+ set "WIXPATH=C:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
+ set VERSION=
+ for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set VERSION=%%b )
+ echo %VERSION%
+ "%WIXPATH%\\candle" -dVERSION=%VERSION% -dBINPATH=. pandoc.wxs
+ "%WIXPATH%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj
artifacts:
- path: windows\pandoc.zip