Skip to content

Commit dd6bccd

Browse files
ci(mobile): keep reconciling after a failed OTA publish
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1c883c6 commit dd6bccd

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/mobile-eas-production.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,17 @@ jobs:
295295
latest_version="$(eas build:list --platform "$platform" --build-profile production --limit 1 --json --non-interactive | jq -r '.[0].appVersion // "none"')"
296296
297297
if [ "$finished" -gt 0 ]; then
298-
eas update \
298+
if eas update \
299299
--channel production \
300300
--environment production \
301301
--platform "$platform" \
302302
--message "$message" \
303-
--non-interactive
304-
echo ":white_check_mark: $platform: OTA published to production (fingerprint \`$hash\`)" >> "$GITHUB_STEP_SUMMARY"
303+
--non-interactive; then
304+
echo ":white_check_mark: $platform: OTA published to production (fingerprint \`$hash\`)" >> "$GITHUB_STEP_SUMMARY"
305+
else
306+
failed=1
307+
echo ":x: $platform: OTA publish failed (fingerprint \`$hash\`)" >> "$GITHUB_STEP_SUMMARY"
308+
fi
305309
fi
306310
307311
reason=""

0 commit comments

Comments
 (0)