summaryrefslogtreecommitdiff
path: root/tools/build_scripts/zz_zRebuildUploadStable.bat
blob: 114f9be581acade15a848fc5478a71c67951653e (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
@echo off
echo WARNING!!! You are about to compile and upload STABLE versions of Miranda NG! Are you absolutely sure?!
pause

for /F "tokens=1,2,3 delims= " %%i in (build/build.no.stable) do set Branch=%%i_%%j_%%k

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

call z1_ReBuild_Full_Stable.bat 32

call z1_ReBuild_Full_Stable.bat 64

call z2_PackPluginUpater.bat 32

call z2_PackPluginUpater.bat 64

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

call z3_PackArchivesStable.bat 32

call z3_PackArchivesStable.bat 64

call z4_UploadPluginUpdaterStable.bat 32

call z4_UploadPluginUpdaterStable.bat 64

call z5_UploadArchivesStable.bat PASS

goto :eof

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