summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z4_UploadPluginUpdaterStable.bat
blob: d155ff50a23449330484b0f22f234bd366c6e4c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set tp=%1
if  "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)

call a_SetVar%tp%.bat

if exist zzReport.txt del /f /q zzReport.txt

:upload
%WinSCP% /script=z4_UploadPluginUpdaterStable.txt

if errorlevel 1 goto error

echo Upload Plugin Updater Success! >> zzReport.txt
if exist %Arch% rd /Q /S "%Arch%" >nul
goto end

:error
echo Upload Plugin Updater x%tp% Error! >> zzReport.txt

:end