fastlane/lib/fastlane/actions/nexus_upload.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/nexus_upload.rb in fastlane_hotfix-2.187.0
- old
+ new
@@ -3,10 +3,11 @@
class NexusUploadAction < Action
def self.run(params)
command = []
command << "curl"
command << verbose(params)
+ command << "--fail"
command += ssl_options(params)
command += proxy_options(params)
command += upload_options(params)
command << upload_url(params)
@@ -140,11 +141,11 @@
description: "Nexus password",
optional: false),
FastlaneCore::ConfigItem.new(key: :ssl_verify,
env_name: "FL_NEXUS_SSL_VERIFY",
description: "Verify SSL",
- is_string: false,
+ type: Boolean,
default_value: true,
optional: true),
FastlaneCore::ConfigItem.new(key: :nexus_version,
env_name: "FL_NEXUS_MAJOR_VERSION",
description: "Nexus major version",
@@ -158,10 +159,10 @@
UI.user_error!("Unsupported version (#{value}) max. supported version: #{max_version}") unless value <= max_version
end),
FastlaneCore::ConfigItem.new(key: :verbose,
env_name: "FL_NEXUS_VERBOSE",
description: "Make detailed output",
- is_string: false,
+ type: Boolean,
default_value: false,
optional: true),
FastlaneCore::ConfigItem.new(key: :proxy_username,
env_name: "FL_NEXUS_PROXY_USERNAME",
description: "Proxy username",