Sha256: 01c1cd697bc4758842b52528e3c70a7f4c797afb9ba39b00c39aca43304c2d9d

Contents?: true

Size: 1.54 KB

Versions: 230

Compression:

Stored size: 1.54 KB

Contents

module Fastlane
  module Actions
    class GooglePlayTrackVersionCodesAction < Action
      # Supply::Options.available_options keys that apply to this action.
      OPTIONS = [
        :package_name,
        :track,
        :key,
        :issuer,
        :json_key,
        :json_key_data,
        :root_url
      ]

      def self.run(params)
        require 'supply'
        require 'supply/options'
        require 'supply/reader'

        Supply.config = params

        Supply::Reader.new.track_version_codes
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Retrieves version codes for a Google Play track"
      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.select do |option|
          OPTIONS.include?(option.key)
        end
      end

      def self.output
      end

      def self.return_value
        "Array of integers representing the version codes for the given Google Play track"
      end

      def self.authors
        ["panthomakos"]
      end

      def self.is_supported?(platform)
        platform == :android
      end

      def self.example_code
        [
          'google_play_track_version_codes'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

230 entries across 230 versions & 1 rubygems

Version Path
fastlane-2.63.0.beta.20171022010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.63.0.beta.20171021010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.63.0.beta.20171020010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.63.0.beta.20171019010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.63.0.beta.20171018010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171017010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171016010004 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171015010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171014010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171011010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.62.0.beta.20171010010004 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171009010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171008010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171007010004 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171006010004 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171005010003 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.61.0.beta.20171004010004 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.60.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb