1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-19 20:32:00 +02:00
focalboard/win-wpf/package-zip.bat
2021-03-23 13:49:23 -07:00

19 lines
484 B
Batchfile

@echo off
if exist dist\focalboard-win.zip del /q dist\focalboard-win.zip
if not exist dist mkdir dist
if exist temp del /s /f /q temp
rmdir /s /q temp
if not exist temp mkdir temp
xcopy /e /i /y Focalboard\bin\x64\Release temp
copy ..\build\MIT-COMPILED-LICENSE.md temp
copy ..\NOTICE.txt temp
copy ..\webapp\NOTICE.txt temp\webapp-NOTICE.txt
echo --- Contents of temp ---
dir /s /b temp
echo ---
powershell Compress-Archive -Path temp\* -DestinationPath dist\focalboard-win.zip