rusefi/misc/jenkins/compile_other_versions/build_version.bat

19 lines
513 B
Batchfile
Raw Normal View History

2019-02-19 18:30:41 -08:00
rm -rf temp
set folder=snapshot_%date:~10%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_%bundle_name%_rusefi
2019-02-19 18:30:41 -08:00
set folder=temp\%folder%
rem this replaces spaces with 0s - that's needed before 10am
set folder=%folder: =0%
echo Building file
call misc\jenkins\build_working_folder.bat
rem TODO: extract FTP duplication with 407 build
cd temp
2019-06-01 09:34:29 -07:00
mv rusefi_bundle.zip rusefi_bundle_%bundle_name%.zip
ncftpput -u %RUSEFI_BUILD_FTP_USER% -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% . rusefi_bundle_%bundle_name%.zip
2019-02-19 18:30:41 -08:00
cd ..