fastlane/lib/fastlane/actions/pod_push.rb in fastlane-2.170.0 vs fastlane/lib/fastlane/actions/pod_push.rb in fastlane-2.171.0
- old
+ new
@@ -41,10 +41,14 @@
if params[:skip_tests]
command << "--skip-tests"
end
+ if params[:use_json]
+ command << "--use-json"
+ end
+
if params[:verbose]
command << "--verbose"
end
if params[:use_modular_headers]
@@ -119,9 +123,14 @@
FastlaneCore::ConfigItem.new(key: :skip_tests,
description: "Lint skips building and running tests during validation",
optional: true,
type: Boolean,
env_name: "FL_POD_PUSH_SKIP_TESTS"),
+ FastlaneCore::ConfigItem.new(key: :use_json,
+ description: "Convert the podspec to JSON before pushing it to the repo",
+ optional: true,
+ type: Boolean,
+ env_name: "FL_POD_PUSH_USE_JSON"),
FastlaneCore::ConfigItem.new(key: :verbose,
description: "Show more debugging information",
optional: true,
type: Boolean,
default_value: false,