Sha256: dd031608482883c61c612077df37542014287b9d4df4dc923c597b0281aaaf98
Contents?: true
Size: 1.98 KB
Versions: 12
Compression:
Stored size: 1.98 KB
Contents
module Fastlane module Actions class PilotAction < Action def self.run(values) require 'pilot' require 'pilot/options' begin FastlaneCore::UpdateChecker.start_looking_for_update('pilot') unless Helper.is_test? changelog = Actions.lane_context[SharedValues::FL_CHANGELOG] values[:changelog] ||= changelog if changelog values[:ipa] ||= Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] return values if Helper.test? Pilot::BuildManager.new.upload(values) # we already have the finished config ensure FastlaneCore::UpdateChecker.show_update_status('pilot', Pilot::VERSION) end end ##################################################### # @!group Documentation ##################################################### def self.description "Upload a new binary to iTunes Connect for TestFlight beta testing" end def self.details [ "More details can be found on https://github.com/fastlane/fastlane/tree/master/pilot", "This integration will only do the TestFlight upload" ].join("\n") end def self.available_options require "pilot" require "pilot/options" FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options) end def self.example_code [ 'testflight', 'pilot # alias for "testflight"', 'testflight(skip_submission: true) # to only upload the build', 'testflight( username: "felix@krausefx.com", app_identifier: "com.krausefx.app", itc_provider: "abcde12345" # pass a specific value to the iTMSTransporter -itc_provider option )' ] end def self.category :beta end def self.authors ["KrauseFx"] end def self.is_supported?(platform) platform == :ios end end end end
Version data entries
12 entries across 12 versions & 1 rubygems