Commit 95fbf878 authored by David Eichmann's avatar David Eichmann 🏋 Committed by Ben Gamari
Browse files

CircleCI: Fix check for git push retry limit.

Test Plan: Observe CircleCI

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, carter

Differential Revision:
parent 4147df3a
......@@ -42,9 +42,9 @@ function reset_append_note_push {
# Push the metrics file as a git note. This may fail if another task pushes a note first. In that case
# the latest note is fetched and appended.
until reset_append_note_push || [ MAX_RETRY = 0 ]
until reset_append_note_push || [ $MAX_RETRY -le 0 ]
echo ""
echo "Failed to push git notes. Fetching, appending, and retrying..."
echo "Failed to push git notes. Fetching, appending, and retrying... $MAX_RETRY retries left."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment