Skip to content

Commit e8f4cba

Browse files
author
Ali
committed
Retry upload
1 parent f830972 commit e8f4cba

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎buildbox/deploy-appcenter.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@ DSYM_PATH="build/artifacts/Telegram.DSYMs.zip"
99
APPCENTER="/usr/local/bin/appcenter"
1010

1111
$APPCENTER login --token "$API_TOKEN"
12-
$APPCENTER distribute release --app "$API_USER_NAME/$API_APP_NAME" -f "$IPA_PATH" -g Internal
12+
13+
NEXT_WAIT_TIME=0
14+
until [ $NEXT_WAIT_TIME -eq 5 ] || $APPCENTER distribute release --app "$API_USER_NAME/$API_APP_NAME" -f "$IPA_PATH" -g Internal; do
15+
sleep $(( NEXT_WAIT_TIME++ ))
16+
done
17+
[ $NEXT_WAIT_TIME -lt 10 ]
18+
1319
$APPCENTER crashes upload-symbols --app "$API_USER_NAME/$API_APP_NAME" --symbol "$DSYM_PATH"

0 commit comments

Comments
 (0)