pilot/lib/pilot/build_manager.rb in fastlane-2.208.0 vs pilot/lib/pilot/build_manager.rb in fastlane-2.209.0

- old
+ new

@@ -106,13 +106,13 @@ end end def wait_for_build_processing_to_be_complete(return_when_build_appears = false) platform = fetch_app_platform - if config[:ipa] && platform != "osx" + if config[:ipa] && platform != "osx" && !config[:distribute_only] app_version = FastlaneCore::IpaFileAnalyser.fetch_app_version(config[:ipa]) app_build = FastlaneCore::IpaFileAnalyser.fetch_app_build(config[:ipa]) - elsif config[:pkg] + elsif config[:pkg] && !config[:distribute_only] app_version = FastlaneCore::PkgFileAnalyser.fetch_app_version(config[:pkg]) app_build = FastlaneCore::PkgFileAnalyser.fetch_app_build(config[:pkg]) else app_version = config[:app_version] app_build = config[:build_number]