Sha256: 3c94affafe8e1aecf06849a51974114506157b7f6fe5121e26966dfd79d0e1fa
Contents?: true
Size: 1.5 KB
Versions: 47
Compression:
Stored size: 1.5 KB
Contents
module Fastlane module Actions module SharedValues PRODUCE_APPLE_ID = :PRODUCE_APPLE_ID end class ProduceAction < Action def self.run(params) require 'produce' 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' 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
47 entries across 47 versions & 1 rubygems