Sha256: f566ae49ac0f0ba191c4b1885292c4c24b8fe319aef34ff7527dd892a2eb4b18
Contents?: true
Size: 1.57 KB
Versions: 35
Compression:
Stored size: 1.57 KB
Contents
module Fastlane module Actions module SharedValues PRODUCE_APPLE_ID = :PRODUCE_APPLE_ID end class ProduceAction < Action def self.run(params) require 'produce' require 'produce/options' return if Helper.test? begin FastlaneCore::UpdateChecker.start_looking_for_update('produce') Produce.config = params # we alread have the finished config Dir.chdir(FastlaneFolder.path || Dir.pwd) do # This should be executed in the fastlane folder apple_id = Produce::Manager.start_producing.to_s Actions.lane_context[SharedValues::PRODUCE_APPLE_ID] = apple_id ENV['PRODUCE_APPLE_ID'] = apple_id end ensure FastlaneCore::UpdateChecker.show_update_status('produce', Produce::VERSION) end end def self.description "Creates the given application on iTC and the Dev Portal if necessary" end def details [ 'For more information about produce, visit its GitHub page:', 'https://github.com/fastlane/produce' ].join(' ') end def self.available_options require 'produce' require 'produce/options' Produce::Options.available_options end def self.output [ ['PRODUCE_APPLE_ID', 'The Apple ID of the newly created app. You probably need it for `deliver`'] ] end def self.author "KrauseFx" end def self.is_supported?(platform) platform == :ios end end end end
Version data entries
35 entries across 35 versions & 1 rubygems