summaryrefslogtreecommitdiff
path: root/tools/build_scripts
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-28 19:38:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-28 19:38:36 +0300
commitb76f376e2d9fcedb935438b2132502696c7effe4 (patch)
treed2c9698959471fa3429dd86af7f18131a5fe13e5 /tools/build_scripts
parenta4d77010e272e9a5db6a255c32c182e6d3c64c14 (diff)
fixes #1426 (Correct archive names for the stable version)
Diffstat (limited to 'tools/build_scripts')
-rw-r--r--tools/build_scripts/z3_PackArchivesStable.bat2
-rw-r--r--tools/build_scripts/zz_zRebuildUploadStable.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/build_scripts/z3_PackArchivesStable.bat b/tools/build_scripts/z3_PackArchivesStable.bat
index 96d1ac7ce6..4669d80f10 100644
--- a/tools/build_scripts/z3_PackArchivesStable.bat
+++ b/tools/build_scripts/z3_PackArchivesStable.bat
@@ -1,6 +1,6 @@
set tp=%1
if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
-for /F "tokens=1,2,3 delims= " %%i in (build\build.no) do set MirVer=%%i.%%j.%%k
+for /F "tokens=1,2,3,4 delims= " %%i in (build\build.no.stable) do set MirVer=%%i.%%j.%%k.%%l
if /i '%tp%' == '64' set bit=_x64
if /i '%tp%' == '32' set CompileString=..\Tools\InnoSetup5\ISCC.exe /Dptx86 /DAppVer=%MirVer% "MirandaNG.iss"
if /i '%tp%' == '64' set CompileString=..\Tools\InnoSetup5\ISCC.exe /DAppVer=%MirVer% "MirandaNG.iss"
diff --git a/tools/build_scripts/zz_zRebuildUploadStable.bat b/tools/build_scripts/zz_zRebuildUploadStable.bat
index 079220ce7e..d7b2996db4 100644
--- a/tools/build_scripts/zz_zRebuildUploadStable.bat
+++ b/tools/build_scripts/zz_zRebuildUploadStable.bat
@@ -18,7 +18,7 @@ del /F /Q version.txt
pushd build
copy build.no.stable build.no
copy make_ver_stable.bat make_ver.bat
-for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k
+for /F "tokens=1,2,3,4 delims= " %%i in (build.no.stable) do set MirVer=%%i.%%j.%%k.%%l
popd
echo v%MirVer% > version.txt