Windows rc: Create the release dir.

This commit is contained in:
John MacFarlane 2020-01-17 15:41:09 -08:00
parent ff4dd2b1dd
commit 761ece90c9

View file

@ -65,6 +65,7 @@ jobs:
echo Detected version %VERSION%
@set WINDOWS=%CD%\windows
@set RELEASE=%WINDOWS%\pandoc-%VERSION%
mkdir %RELEASE%
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