summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z5_UploadArchivesStable.bat
blob: fb52c92134389d3f339c82666f6b627bd738cb82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set p1=%1
if  "%p1%" == "" (echo "please spesify 'PASS' parameter to make this batch file work."&&pause&&goto :EOF)

call a_SetVar32.bat

:upload
%WinSCP% /script=z5_UploadArchivesStable.txt

if errorlevel 1 goto error

echo Upload Archives and Installers Success! >> zzReport.txt
if exist %ArchDistr% rd /Q /S "%ArchDistr%%" >nul
goto end

:error
echo Upload Archives and Installers Error! >> zzReport.txt

:end