fix: retry 5 times not 3

This commit is contained in:
Baptiste Augrain
2025-08-13 17:07:15 +02:00
parent 51f1643852
commit e298421027
6 changed files with 10 additions and 8 deletions

View File

@@ -11,12 +11,14 @@ for i in {1..5}; do
break
fi
if [[ $i == 3 ]]; then
if [[ $i == 5 ]]; then
echo "GH install failed too many times" >&2
exit 1
fi
echo "GH install failed $i, trying again..."
sleep $(( 15 * (i + 1)))
done
VERSION="${TAG#v}"