mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-11-22 23:29:18 +03:00
Add retry logic to git push
This commit is contained in:
parent
b6b51ba510
commit
b5a6849834
@ -136,6 +136,9 @@ git pull origin master # in case another build just pushed
|
||||
git add .
|
||||
dateAndMonth=`date "+%D %T"`
|
||||
git commit -m "Travis update: $dateAndMonth (Build $TRAVIS_BUILD_NUMBER)"
|
||||
git push origin master --quiet
|
||||
if ! git push origin master --quiet; then
|
||||
git pull origin master
|
||||
git push origin master --quiet
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user