pilot/lib/pilot/build_manager.rb in fastlane-2.175.0 vs pilot/lib/pilot/build_manager.rb in fastlane-2.176.0
- old
+ new
@@ -88,11 +88,16 @@
end
end
def wait_for_build_processing_to_be_complete(return_when_build_appears = false)
platform = fetch_app_platform
- app_version = FastlaneCore::IpaFileAnalyser.fetch_app_version(config[:ipa])
- app_build = FastlaneCore::IpaFileAnalyser.fetch_app_build(config[:ipa])
+ if config[:ipa]
+ app_version = FastlaneCore::IpaFileAnalyser.fetch_app_version(config[:ipa])
+ app_build = FastlaneCore::IpaFileAnalyser.fetch_app_build(config[:ipa])
+ else
+ app_version = config[:app_version]
+ app_build = config[:build_number]
+ end
latest_build = FastlaneCore::BuildWatcher.wait_for_build_processing_to_be_complete(
app_id: app.id,
platform: platform,
app_version: app_version,