Skip to content

Commit ac43e57

Browse files
committed
Fix verify script
1 parent ae71910 commit ac43e57

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,11 @@ verify_maven_central_deployment:
919919
fi
920920
sleep $DELAY
921921
TRY=$((TRY + 1))
922+
if [ $TRY -eq $MAX_TRIES ]; then
923+
echo "The release was not available after 30 mins. Manually re-run the job to try again."
924+
exit 1
925+
fi
922926
done
923-
echo "The release was not available after 30 mins. Manually re-run the job to try again."
924-
exit 1
925927
926928
# publishing-gate:
927929
# needs:

0 commit comments

Comments
 (0)