Class: Fastlane::Actions::PilotAction
Class Method Summary
collapse
action_name, author, output, sh, step_text
Class Method Details
.authors ⇒ Object
42
43
44
|
# File 'lib/fastlane/actions/pilot.rb', line 42
def self.authors
["KrauseFx"]
end
|
.available_options ⇒ Object
36
37
38
39
40
|
# File 'lib/fastlane/actions/pilot.rb', line 36
def self.available_options
require "pilot"
require "pilot/options"
FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options)
end
|
.description ⇒ Object
25
26
27
|
# File 'lib/fastlane/actions/pilot.rb', line 25
def self.description
"Upload a new binary to iTunes Connect for TestFlight beta testing"
end
|
.details ⇒ Object
29
30
31
32
33
34
|
# File 'lib/fastlane/actions/pilot.rb', line 29
def self.details
[
"More details can be found on https://github.com/fastlane/pilot",
"This integration will only do the TestFlight upload"
].join("\n")
end
|
.is_supported?(platform) ⇒ Boolean
46
47
48
|
# File 'lib/fastlane/actions/pilot.rb', line 46
def self.is_supported?(platform)
platform == :ios
end
|
.run(values) ⇒ Object
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/fastlane/actions/pilot.rb', line 4
def self.run(values)
require 'pilot'
require 'pilot/options'
begin
FastlaneCore::UpdateChecker.start_looking_for_update('pilot') unless Helper.is_test?
values[:ipa] ||= Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
Pilot::BuildManager.new.upload(values)
return nil
ensure
FastlaneCore::UpdateChecker.show_update_status('pilot', Pilot::VERSION)
end
end
|