summaryrefslogtreecommitdiff
path: root/tools/build_scripts/zz_zRebuildUploadTrunk.bat
blob: 8b3d2f3c77876004be6f36e13db1b765334fb225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
set comp=bin15

call git_update.bat master
set GIT_STATUS=%ERRORLEVEL%
if %GIT_STATUS%==0 echo Git update success
if not %GIT_STATUS%==0 goto :Error

xcopy /S /Y tools\build_scripts\*.* . >nul

title Building 32-bit version...
call z1_ReBuild_Full.bat 32 %comp%

title Building 64-bit version...
call z1_ReBuild_Full.bat 64 %comp%

title Packing...
call z2_PackPluginUpdater.bat 32 DEV_N_STABLE %comp%

call z2_PackPluginUpdater.bat 64 DEV_N_STABLE %comp%

pushd %comp%
if exist z_Errors*.txt echo There were errors! && pause
popd

call z3_PackArchives.bat 32 %comp%

call z3_PackArchives.bat 64 %comp%

call z4_UploadPluginUpdater.bat 32

call z4_UploadPluginUpdater.bat 64

call z5_UploadArchives.bat PASS

call z6_CompileInstallers.bat

call z7_UploadInstallers.bat

goto :eof

:Error
echo GIT FAIL! > git_error.txt
echo ============================= GIT FAIL! =============================
pause
exit