Skip to content
Permalink
Browse files

Also retry tx pull on failure

  • Loading branch information
jef-n committed Apr 2, 2019
1 parent f8f319b commit 80a4fc9339e42136664d0183a77d847938a79ba2
Showing with 12 additions and 1 deletion.
  1. +12 −1 scripts/update_ts.sh
@@ -133,7 +133,18 @@ elif [ $action = pull ]; then
else
o="-a"
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

echo Updating python translations

0 comments on commit 80a4fc9

Please sign in to comment.
You can’t perform that action at this time.