fastlane/lib/fastlane/actions/pod_push.rb in fastlane-2.150.3 vs fastlane/lib/fastlane/actions/pod_push.rb in fastlane-2.151.0

- old
+ new

@@ -49,10 +49,14 @@ if params[:use_modular_headers] command << "--use-modular-headers" end + if params[:synchronous] + command << "--synchronous" + end + result = Actions.sh(command.join(' ')) UI.success("Successfully pushed Podspec ⬆️ ") return result end @@ -125,10 +129,15 @@ env_name: "FL_POD_PUSH_VERBOSE"), FastlaneCore::ConfigItem.new(key: :use_modular_headers, description: "Use modular headers option during validation", optional: true, type: Boolean, - env_name: "FL_POD_PUSH_USE_MODULAR_HEADERS") + env_name: "FL_POD_PUSH_USE_MODULAR_HEADERS"), + FastlaneCore::ConfigItem.new(key: :synchronous, + description: "If validation depends on other recently pushed pods, synchronize", + optional: true, + type: Boolean, + env_name: "FL_POD_PUSH_SYNCHRONOUS") ] end def self.return_value nil