Skip to content

Commit 9df1556

Browse files
committed
Fix verify script
1 parent 1b2c0e2 commit 9df1556

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
@@ -918,9 +918,11 @@ verify_maven_central_deployment:
918918
fi
919919
sleep $DELAY
920920
TRY=$((TRY + 1))
921+
if [ $TRY -eq $MAX_TRIES ]; then
922+
echo "The release was not available after 30 mins. Manually re-run the job to try again."
923+
exit 1
924+
fi
921925
done
922-
echo "The release was not available after 30 mins. Manually re-run the job to try again."
923-
exit 1
924926
925927
# publishing-gate:
926928
# needs:

0 commit comments

Comments
 (0)