summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z5_UploadArchivesStable.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_scripts/z5_UploadArchivesStable.bat')
-rw-r--r--tools/build_scripts/z5_UploadArchivesStable.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/build_scripts/z5_UploadArchivesStable.bat b/tools/build_scripts/z5_UploadArchivesStable.bat
new file mode 100644
index 0000000000..fb52c92134
--- /dev/null
+++ b/tools/build_scripts/z5_UploadArchivesStable.bat
@@ -0,0 +1,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 \ No newline at end of file