The submit_review lane was crashing with "unknown keyword: :filter" because Spaceship::ConnectAPI::Build.all doesn't accept a filter hash; it takes specific kwargs (app_id, version, build_number, etc.) and constructs the JSON:API filter internally. Also drop includes: "preReleaseVersion" — it's part of ESSENTIAL_INCLUDES by default. Add resubmit-ios-review.yml workflow so we can re-run only the fastlane submit_review lane (no rebuild) against an existing TestFlight build via workflow_dispatch.
22 lines
663 B
YAML
22 lines
663 B
YAML
name: Resubmit iOS for App Store review
|
|
|
|
# Standalone re-trigger for the App Store review submission step. The iOS
|
|
# binary is already uploaded to TestFlight via the main release-mobile flow;
|
|
# this workflow just runs the fastlane submit_review lane against the latest
|
|
# TestFlight build, without rebuilding or re-uploading.
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
submit_ios_for_review:
|
|
name: Submit iOS for App Store review
|
|
environment: production
|
|
runs_on: macos-medium
|
|
steps:
|
|
- uses: eas/checkout
|
|
- name: Install fastlane
|
|
run: bundle install
|
|
- name: Submit for review
|
|
run: bundle exec fastlane ios submit_review
|