1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-02 20:01:21 +00:00

Changes build.bat to send versioninfo.txt to .org

This commit is contained in:
Fellippe Heitor 2020-01-29 12:34:21 -03:00 committed by GitHub
parent c1a1aac7be
commit e0fa76ce7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
)
)