deliver/lib/deliver/submit_for_review.rb in fastlane-2.220.0 vs deliver/lib/deliver/submit_for_review.rb in fastlane-2.221.0
- old
+ new
@@ -49,14 +49,14 @@
submission.add_app_store_version_to_review_items(app_store_version_id: version.id)
10.times do
version_with_latest_info = Spaceship::ConnectAPI::AppStoreVersion.get(app_store_version_id: version.id)
- if version_with_latest_info.app_store_state == Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::READY_FOR_REVIEW
+ if version_with_latest_info.app_version_state == Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW
break
end
- UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::AppStoreState::READY_FOR_REVIEW}...")
+ UI.message("Waiting for the state of the version to become #{Spaceship::ConnectAPI::AppStoreVersion::AppVersionState::READY_FOR_REVIEW}...")
sleep(15)
end
submission.submit_for_review