Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit e22b1f0

Browse files
[deploy] 4.17.0 - Fix bug in auto-retry logic where if build fails 5 times it needs to also return exit 1 to not let CI think it succeeded.
1 parent 1467119 commit e22b1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ jobs:
286286
export PLATFORMS=${PLATFORMS}
287287
export BUILD_ARGS=${BUILD_ARGS}
288288
# If there are build errors, let's retry
289-
max=5; until sh build-and-push.sh $MAKE_TARGETS; do if [ $((--max)) = 0 ]; then echo Giving up; break; fi; done
289+
max=5; until sh build-and-push.sh $MAKE_TARGETS; do if [ $((--max)) = 0 ]; then echo Giving up; exit 1; fi; done
290290
291291
- when:
292292
condition:

0 commit comments

Comments
 (0)