Skip to content

Commit

Permalink
Add logic for skipping completed iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewGable committed Dec 5, 2024
1 parent fa56c8b commit a9fad9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,13 @@ platform :ios do

app = Spaceship::ConnectAPI::App.find("com.expensify.expensifylite")
version = app.get_live_app_store_version(platform: Spaceship::ConnectAPI::Platform::IOS)

# Skip if the version is already at 100% rollout
if version.fetch_app_store_version_phased_release.phased_release_state == "COMPLETE"
UI.important "Version is already at 100% rollout, skipping completing the rollout"
next
end

version.fetch_app_store_version_phased_release.complete
end

Expand Down

0 comments on commit a9fad9c

Please sign in to comment.