-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildCC.bat
13 lines (11 loc) · 856 Bytes
/
buildCC.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
SET mypath=%~dp0
SET CURDATE=%DATE:~6,4%-%DATE:~3,2%-%DATE:~0,2%
SET sevenZip="C:\Program Files\Tools\7-Zip\7z.exe"
echo Date: %CURDATE%>./Builds/temp/build.txt
%sevenZip% a -tzip ./Builds/temp/{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.zip ./"{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}"/*
%sevenZip% a -tzip ./Builds/temp/{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.zip ./Builds/temp/build.txt
%sevenZip% h -scrcsha256 ./Builds/temp/{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.zip > ./Builds/temp/{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.CRC
pandoc -V Date="$(date -T)" -s documentation/metadata_en.md readme.md -o ./Builds/temp/readme.pdf
%sevenZip% a -tzip ./Builds/screenControl_%CURDATE%.zip ./Builds/temp/*
mkdir Builds\Archive\%CURDATE%\
copy Builds\temp\{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.CRC Builds\Archive\%CURDATE%\{B5EE6DEF-00EB-4880-AC1E-39A6AF506363}.CRC