Fixed build script
This commit is contained in:
parent
4e84bf5090
commit
380ffc55ae
1 changed files with 11 additions and 4 deletions
15
publish.bat
15
publish.bat
|
@ -3,6 +3,13 @@
|
||||||
echo Promotion Type? (Choose * for recommended, @ for stable and x for unstable)
|
echo Promotion Type? (Choose * for recommended, @ for stable and x for unstable)
|
||||||
set /p PROMOTION=
|
set /p PROMOTION=
|
||||||
|
|
||||||
|
echo FTP Server?
|
||||||
|
set /p SERVER=
|
||||||
|
echo FTP Username?
|
||||||
|
set /p USERNAME=
|
||||||
|
echo FTP Password?
|
||||||
|
set /p PASSWORD=
|
||||||
|
|
||||||
set /p MODVERSION=<modversion.txt
|
set /p MODVERSION=<modversion.txt
|
||||||
set /p CurrentBuild=<buildnumber.txt
|
set /p CurrentBuild=<buildnumber.txt
|
||||||
set /a BUILD_NUMBER=%CurrentBuild%+1
|
set /a BUILD_NUMBER=%CurrentBuild%+1
|
||||||
|
@ -39,9 +46,9 @@ cd ..\
|
||||||
echo %PROMOTION% %FILE_NAME% %API_NAME%>>info.txt
|
echo %PROMOTION% %FILE_NAME% %API_NAME%>>info.txt
|
||||||
|
|
||||||
::GENERATE FTP Script
|
::GENERATE FTP Script
|
||||||
echo open calclavia.com>ftpscript.txt
|
echo open %SERVER%>ftpscript.txt
|
||||||
echo al@calclavia.com>>ftpscript.txt
|
echo %USERNAME%>>ftpscript.txt
|
||||||
echo VkE4laBa84R9>>ftpscript.txt
|
echo %PASSWORD%>>ftpscript.txt
|
||||||
echo binary>>ftpscript.txt
|
echo binary>>ftpscript.txt
|
||||||
echo put "recommendedversion.txt">>ftpscript.txt
|
echo put "recommendedversion.txt">>ftpscript.txt
|
||||||
echo put "builds\%FILE_NAME%">>ftpscript.txt
|
echo put "builds\%FILE_NAME%">>ftpscript.txt
|
||||||
|
@ -51,6 +58,6 @@ echo quit>>ftpscript.txt
|
||||||
ftp.exe -s:ftpscript.txt
|
ftp.exe -s:ftpscript.txt
|
||||||
del ftpscript.txt
|
del ftpscript.txt
|
||||||
|
|
||||||
echo Done building %FILE_NAME% for UE %UE_VERSION%
|
echo Done building %FILE_NAME%
|
||||||
|
|
||||||
pause
|
pause
|
Loading…
Reference in a new issue