aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-03 10:30:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-03 10:30:06 -0700
commit366b94d26bf03dd6c6e114d9f10e757f0c0f2e85 (patch)
tree7e303e474b6e30c2b39820f94c4bc41d8d1f4326 /appveyor.yml
parent99cd7978a35640d5b8a4a651c490473822846033 (diff)
downloadpandoc-366b94d26bf03dd6c6e114d9f10e757f0c0f2e85.tar.gz
appveyor: another try at setting version.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 3 insertions, 1 deletions
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'