mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-05 00:40:26 +00:00
Changes build.bat to send versioninfo.txt to .org
This commit is contained in:
parent
c1a1aac7be
commit
e0fa76ce7b
|
@ -8,9 +8,22 @@ set archive=qb64_%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%-%TIMEX:~0,2%-%TIMEX:~3,2%-
|
|||
FOR /L %%i IN (1,1,10) DO (
|
||||
scp %archive% remote-server:autobuilds/development/
|
||||
IF ERRORLEVEL 1 (
|
||||
ECHO scp failed - attempt %%i/10
|
||||
ECHO scp %archive% failed - attempt %%i/10
|
||||
) ELSE (
|
||||
GOTO :doversion
|
||||
)
|
||||
)
|
||||
|
||||
:doversion
|
||||
|
||||
set archive=versioninfo.txt
|
||||
echo Dev build generated on %DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%, %TIMEX:~0,2%-%TIMEX:~3,2%-%TIMEX:~6,2%, from git ^<a href=https://github.com/QB64Team/qb64/commits/development^>%GITHUB_SHA:~0,7%^</a^> > %archive%
|
||||
|
||||
FOR /L %%i IN (1,1,10) DO (
|
||||
scp %archive% remote-server:autobuilds/development/
|
||||
IF ERRORLEVEL 1 (
|
||||
ECHO scp %archive% failed - attempt %%i/10
|
||||
) ELSE (
|
||||
EXIT /B 0
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue