Skip to content

fix: Split release workflow into build + submit jobs#181

Open
rez-bingbong wants to merge 1 commit intomainfrom
fix/split-release-jobs
Open

fix: Split release workflow into build + submit jobs#181
rez-bingbong wants to merge 1 commit intomainfrom
fix/split-release-jobs

Conversation

@rez-bingbong
Copy link
Copy Markdown
Collaborator

What

Splits the Grid Release workflow into two sequential jobs:

  1. Build & Upload — builds iOS/Android, uploads to TestFlight + Play Store, creates GitHub release
  2. Submit iOS to App Store — polls ASC until the build is processed (every 30s, up to 30 min), then submits for review via deliver

Why

The single-job workflow was failing with Build number: 508 does not exist because deliver ran before App Store Connect finished processing the uploaded build.

How it works

  • Both jobs run automatically on the weekly schedule and manual dispatch
  • Job 2 uses the Spaceship API to poll build processing status
  • Lightweight polling (just API calls) — no Xcode runner time burned while waiting
  • Times out after 30 minutes if build doesn't process

Build & Upload job handles building, signing, uploading to TestFlight
and Play Store, and creating the GitHub release.

Submit iOS to App Store job waits for ASC build processing to complete
(polls every 30s, up to 30 min) before submitting for review.

Fixes the 'Build number does not exist' error caused by deliver running
before App Store Connect finished processing the uploaded build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant