Skip to content

Commit

Permalink
Merge pull request #22541 from Expensify/revert-21366-Rory-ReleasePen…
Browse files Browse the repository at this point in the history
…dingIOSApps

Revert "Release pending versions before submitting a new version for review"
  • Loading branch information
MariaHCD authored Jul 10, 2023
2 parents 395f4a7 + 6f8ead3 commit b9f1d47
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -243,26 +243,6 @@ platform :ios do

desc "Move app to App Store Review"
lane :production do
# Login to Spaceship
fastlane_require 'spaceship'
teamID = CredentialsManager::AppfileConfig.try_fetch_value(:team_id)
Spaceship::ConnectAPI.login(
use_portal: false,
tunes_team_id: teamID,
)

# Find our app
bundleID = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
app = Spaceship::ConnectAPI::App.find(bundleID)
if app.nil?
UI.important "not found in team #{teamID} on ASC!"
next
else
# If there's an app that's Pending Developer Release, release it before continuing with the new version
pendingReviewVersion = app.get_pending_release_app_store_version
version.create_app_store_version_release_request unless version.nil?
end

deliver(
api_key_path: "./ios/ios-fastlane-json-key.json",

Expand Down

0 comments on commit b9f1d47

Please sign in to comment.