git.iko.soy/typeable/pandoc
on master help sign in
appveyor: another try at setting version.
commit366b94d26bf03dd6c6e114d9f10e757f0c0f2e85 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 3 Jun 2016, 10:30 (10 years ago) parent99cd797
1 file changed+3−1
appveyor.yml+3−1
appveyor.yml+3−1
@@ -37,11 +37,13 @@ after_test:
3737 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
3838 - cd windows
3939 - 7z a "pandoc.zip" pandoc.exe"
40− - for /f "tokens=2 delims= " %%a in ('.\pandoc.exe --version') do ( set "VERSION=%%a" && exit )
4140 - .\pandoc.exe -s -S ..\README -o README.html
4241 - .\pandoc.exe -s -S ..\COPYING -o COPYING.rtf
4342 - copy ..\COPYRIGHT COPYRIGHT.txt
4443 - set "WIXPATH=C:\\Program Files (x86)\\WiX Toolset v3.10\\bin"
44+ - |
45+ for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( set VERSION=%%b && exit )
46+ - echo %VERSION%
4547 - '"%WIXPATH%\\candle" -dVERSION="%VERSION%" -dBINPATH=. pandoc.wxs'
4648 - '"%WIXPATH%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj'
4749