Sha256: dfaf939b365979a4edb468d24531d4e562db6dd3aff6ed24923b69bc32ed7aa9

Contents?: true

Size: 1.53 KB

Versions: 135

Compression:

Stored size: 1.53 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/"
      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

135 entries across 135 versions & 1 rubygems

Version Path
fastlane-2.94.0.beta.20180425050017 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.94.0.beta.20180424050050 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180423050019 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180422050034 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180421050012 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180420050021 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180419050008 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180418050020 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.92.1 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.93.0.beta.20180417050013 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.92.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.92.0.beta.20180416050023 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.92.0.beta.20180415050019 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.92.0.beta.20180414050023 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.91.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.91.0.beta.20180413050017 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.90.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.90.0.beta.20180412050111 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb