@@ -40,12 +40,13 @@ after_test:
4040 - .\pandoc.exe -s -S ..\README -o README.html
4141 - .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
4242 - copy ..\COPYRIGHT COPYRIGHT.txt
43− - set "WIXPATH=C:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
4443 - |
45− for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( set VERSION=%%b && exit )
46− - echo %VERSION%
47− - '"%WIXPATH%\\candle" -dVERSION="%VERSION%" -dBINPATH=. pandoc.wxs'
48− - '"%WIXPATH%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj'
44+ set "WIXPATH=C:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
45+ set VERSION=
46+ for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set VERSION=%%b )
47+ echo %VERSION%
48+ "%WIXPATH%\\candle" -dVERSION=%VERSION% -dBINPATH=. pandoc.wxs
49+ "%WIXPATH%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj
4950
5051artifacts:
5152 - path: windows\pandoc.zip