From 366b94d26bf03dd6c6e114d9f10e757f0c0f2e85 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 3 Jun 2016 10:30:06 -0700 Subject: appveyor: another try at setting version. --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e1d6061ac..2bc4e4501 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -37,11 +37,13 @@ after_test: # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is) - cd windows - 7z a "pandoc.zip" pandoc.exe" - - for /f "tokens=2 delims= " %%a in ('.\pandoc.exe --version') do ( set "VERSION=%%a" && exit ) - .\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' -- cgit v1.2.3