Files
swiftcontrol/ios/fastlane/Deliverfile
Jonas Bark 1f378f7cd2 Upload App Store screenshots via the API, not deliver
deliver's screenshot upload races App Store Connect's async processing:
it duplicates locales ("too many screenshots", 05/06 dropped) and, even
when the count is right, orders them wrong (virtualshifting-settings
landed first on every locale). fastlane 2.236.1 is the latest, so this
is an inherent deliver limitation, not a version bug.

Replace the deliver screenshot path with a deterministic direct
Spaceship::ConnectAPI sync: clear each set (confirming the delete
actually committed, since ASC reports it optimistically), upload each
shot serialized with wait_for_processing and an explicit position, then
reorder by filename. deliver now only handles the localized texts
(skip_screenshots). Applies to both the iOS and macOS lanes.

Verified against the live 6.1 listing: all iOS locales (iPhone+iPad) and
all macOS locales now show 6 screenshots each in device → trainer →
virtualshifting → virtualshifting-settings → customization → companion
order, no duplicates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 20:22:09 +02:00

21 lines
742 B
Ruby

# Defaults for `deliver` (App Store Connect metadata).
# These keep the lanes focused on the localized store texts only.
app_identifier "de.jonasbark.swiftcontrol.darwin"
platform "ios"
# deliver only manages the localized texts here. Screenshots are uploaded
# through the App Store Connect API directly (see sync_screenshots in the
# Fastfile) because deliver's screenshot upload misorders and duplicates them.
skip_binary_upload true
skip_screenshots true
# Only sync the existing editable version's metadata; don't create or bump a
# version and don't auto-submit for review.
skip_app_version_update true
submit_for_review false
run_precheck_before_submit false
# Don't ask for interactive HTML preview confirmation in CI.
force true