Skip to content
Snippets Groups Projects
Verified Commit fb60339f authored by Bryan R's avatar Bryan R
Browse files

Propagate failure if unable to push notes

parent f11d9c27
No related branches found
No related tags found
No related merge requests found
Pipeline #63697 passed with warnings
......@@ -65,6 +65,10 @@ function push() {
echo ""
echo "Failed to push git notes. Fetching, appending, and retrying... $MAX_RETRY retries left."
done
if [ "$MAX_RETRY" -le 0 ]; then
fail "Failed to push git notes, and no more retries remain."
fi
}
case $1 in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment