Sha256: d2078d58bee8eb7f4fba1a7af84107e946febf861eb454fc7fa7be39dd548333
Contents?: true
Size: 1.5 KB
Versions: 42
Compression:
Stored size: 1.5 KB
Contents
module Fastlane module Actions class SupplyAction < Action def self.run(params) require 'supply' require 'supply/options' FastlaneCore::UpdateChecker.start_looking_for_update('supply') unless Helper.is_test? all_apk_paths = Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS] || [] if all_apk_paths.length > 1 params[:apk_paths] ||= all_apk_paths else params[:apk] ||= Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] end Supply.config = params # we already have the finished config Supply::Uploader.new.perform_upload end ##################################################### # @!group Documentation ##################################################### def self.description "Upload metadata, screenshots and binaries to Google Play" end def self.details "More information: https://github.com/fastlane/fastlane/tree/master/supply" end def self.available_options require 'supply' require 'supply/options' Supply::Options.available_options end def self.output end def self.return_value end def self.authors ["KrauseFx"] end def self.is_supported?(platform) platform == :android end def self.example_code [ 'supply' ] end def self.category :production end end end end
Version data entries
42 entries across 42 versions & 1 rubygems