Sha256: 31c833f4edc76cbc49d2d5a29ca8b3030d01fb2f207e4b1bf99db7d3e9e02af0

Contents?: true

Size: 1.57 KB

Versions: 37

Compression:

Stored size: 1.57 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://docs.fastlane.tools/actions/supply/](https://docs.fastlane.tools/actions/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

37 entries across 37 versions & 1 rubygems

Version Path
fastlane-2.101.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.100.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.100.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.99.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.99.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.98.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.97.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180521050117 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180520050019 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180519050103 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180518050116 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180517050058 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180516050022 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180515050025 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180514050029 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180513050015 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180512050121 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.96.0.beta.20180511050050 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb