From 5028278569bdc06ced5b8151393e2d12602f1b7e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Jan 2020 16:01:46 -0800 Subject: windows release candidate build: More fixes to get 'light' to work. --- .github/workflows/release-candidate.yml | 3 ++- windows/Pandoc-en-us.wxl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index 433f97581..368991c67 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -68,6 +68,7 @@ jobs: forfiles /P .\.stack-work\install /M pandoc*.exe /S /C "cmd /C echo @path && echo %%WINDOWS%% && copy @path %%RELEASE%%" stack exec pandoc -- -s --toc MANUAL.txt -o %RELEASE%\MANUAL.html stack exec pandoc -- -s COPYING.md -t rtf -o %RELEASE%\COPYING.rtf + copy %RELEASE%\COPYING.rtf %WINDOWS% copy COPYRIGHT %RELEASE%\COPYRIGHT.txt cd windows echo Creating msi... @@ -78,7 +79,7 @@ jobs: %WIXBIN%\candle -arch ${{ matrix.versions.arch }} -dVERSION=%VERSION% -dBINPATH=%RELEASE% *.wxs -out wixobj\ if %errorlevel% neq 0 exit /b %errorlevel% echo Running light... - %WIXBIN%\light -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -dBINPATH=%RELEASE% -out %WORKDIR%\pandoc-%VERSION%-${{ matrix.versions.osarch }}-UNSIGNED.msi wixobj\*.wixobj + %WIXBIN%\light -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out %WORKDIR%\pandoc-%VERSION%-${{ matrix.versions.osarch }}-UNSIGNED.msi wixobj\*.wixobj 7z a "pandoc-%VERSION%-${{ matrix.versions.osarch }}.zip" pandoc-%VERSION% cd .. mkdir windows-release-candidate diff --git a/windows/Pandoc-en-us.wxl b/windows/Pandoc-en-us.wxl index 5bfa11f99..4722788cf 100644 --- a/windows/Pandoc-en-us.wxl +++ b/windows/Pandoc-en-us.wxl @@ -3,7 +3,7 @@ 1033 - $(var.BINPATH)\COPYING.rtf + COPYING.rtf [ProductName] was installed in -- cgit v1.2.3