Launchbay

Submit

Upload builds to TestFlight and Google Play.

launchbay build --platform all --submit               # each build queues its upload when it succeeds
launchbay submit --job 12                             # upload a finished build job's artifact
launchbay submit --path app-release.aab --at 09:00    # scheduled upload of a file
launchbay submit --job 12 --notes "Fixes pairing"     # with release notes (--notes-language, default en-US)
launchbay build --platform android --submit --notes "Fixes pairing"   # notes for the upload it queues

--notes (or the notes box behind the app's Submit to store button, or under Submit when built in New build) goes on the new Play release as its release notes, or, for an .ipa, on the uploaded build's TestFlight What to Test. The TestFlight step runs after the upload, so if it fails (say, the API key lacks the role) the job still succeeds and its log says why. The App Store's What's New is edited in the listings tab.

The store comes from the file: .ipa goes to App Store Connect, .aab/.apk to Google Play. Uploads run on their own lanes (ios-submit, android-submit), so they don't hold up builds. Settings come from eas.json's submit profiles (same field names as EAS, extends honoured), and these environment variables, read by the daemon, take precedence:

enveas.json submit.<profile>
iOSLAUNCHBAY_ASC_KEY_ID, LAUNCHBAY_ASC_ISSUER_IDios.ascApiKeyId, ios.ascApiKeyIssuerId
LAUNCHBAY_ASC_KEY_PATH (optional)ios.ascApiKeyPath
AndroidLAUNCHBAY_PLAY_SERVICE_ACCOUNTandroid.serviceAccountKeyPath
android.track (default internal), releaseStatus, rollout, changesNotSentForReview, applicationId

iOS uploads use xcrun altool --upload-package --wait with an App Store Connect API key, so the job ends when Apple has processed the build and it's on TestFlight. A network or server error from altool is retried after 30 seconds, 2 minutes and 5 minutes; a rejected build fails at once. If a retry is turned away as a redundant upload, an earlier attempt delivered the build and the job succeeds. Without a key path, altool looks for AuthKey_<id>.p8 in ~/.appstoreconnect/private_keys. Android uploads use the Play Edits API with a service account: create an edit, upload, set the track release, commit; a failed step deletes the edit so it doesn't block the next upload. The package name comes from applicationId or expo.android.package in app.json.