summaryrefslogtreecommitdiff
path: root/tools/build_scripts/zz_zRebuildUploadStable.bat
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-11 13:48:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-11 13:48:38 +0300
commit4f08d452b65baa488f522546e666ad0721bd3f26 (patch)
tree292c11e7b7fa7a4ca1f7b3083b90959313d99c2b /tools/build_scripts/zz_zRebuildUploadStable.bat
parent5e9e97571ebf41809724119a767e07995928ede0 (diff)
adapting build scripts for building Miranda from different branches
Diffstat (limited to 'tools/build_scripts/zz_zRebuildUploadStable.bat')
-rw-r--r--tools/build_scripts/zz_zRebuildUploadStable.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/build_scripts/zz_zRebuildUploadStable.bat b/tools/build_scripts/zz_zRebuildUploadStable.bat
index 200216cd7f..114f9be581 100644
--- a/tools/build_scripts/zz_zRebuildUploadStable.bat
+++ b/tools/build_scripts/zz_zRebuildUploadStable.bat
@@ -2,7 +2,9 @@
echo WARNING!!! You are about to compile and upload STABLE versions of Miranda NG! Are you absolutely sure?!
pause
-call git_update.bat
+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