mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Also retry tx pull on failure
This commit is contained in:
parent
f8f319b6e0
commit
80a4fc9339
@ -133,7 +133,18 @@ elif [ $action = pull ]; then
|
|||||||
else
|
else
|
||||||
o="-a"
|
o="-a"
|
||||||
fi
|
fi
|
||||||
tx pull $o -s --minimum-perc=35
|
|
||||||
|
fail=1
|
||||||
|
for i in $(seq 10); do
|
||||||
|
tx pull $o -s --minimum-perc=35 && fail=0 && break
|
||||||
|
echo Retrying...
|
||||||
|
sleep 10
|
||||||
|
done
|
||||||
|
|
||||||
|
if (( fail )); then
|
||||||
|
echo "Could not pull translations"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo Updating python translations
|
echo Updating python translations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user