Class: FastlaneCore::ShellScriptTransporterExecutor
- Inherits:
-
TransporterExecutor
- Object
- TransporterExecutor
- FastlaneCore::ShellScriptTransporterExecutor
- Defined in:
- lib/fastlane_core/itunes_transporter.rb
Overview
Generates commands and executes the iTMSTransporter through the shell script it provides by the same name
Instance Method Summary collapse
- #build_download_command(username, password, apple_id, destination = "/tmp") ⇒ Object
- #build_upload_command(username, password, source = "/tmp") ⇒ Object
Methods inherited from TransporterExecutor
Instance Method Details
#build_download_command(username, password, apple_id, destination = "/tmp") ⇒ Object
131 132 133 134 135 136 137 138 139 140 |
# File 'lib/fastlane_core/itunes_transporter.rb', line 131 def build_download_command(username, password, apple_id, destination = "/tmp") [ '"' + Helper.transporter_path + '"', "-m lookupMetadata", "-u \"#{username}\"", "-p #{shell_escaped_password(password)}", "-apple_id #{apple_id}", "-destination '#{destination}'" ].join(' ') end |
#build_upload_command(username, password, source = "/tmp") ⇒ Object
118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'lib/fastlane_core/itunes_transporter.rb', line 118 def build_upload_command(username, password, source = "/tmp") [ '"' + Helper.transporter_path + '"', "-m upload", "-u \"#{username}\"", "-p #{shell_escaped_password(password)}", "-f '#{source}'", ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"], # that's here, because the user might overwrite the -t option "-t 'Signiant'", "-k 100000" ].join(' ') end |