Sha256: e15135cdcfef6ecfc21649ac9b1935b342edf2945aca61d518d287ee36d9d213

Contents?: true

Size: 1.59 KB

Versions: 342

Compression:

Stored size: 1.59 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,
        :timeout
      ]

      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

342 entries across 342 versions & 2 rubygems

Version Path
fastlane-2.135.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.134.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.133.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190930200026 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190929200020 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190928200106 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190927200017 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190926200023 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190925200108 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190924200030 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190923200017 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190922200014 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190921200021 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190920200012 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190919200100 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190918200023 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190917200011 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190916200055 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
fastlane-2.132.0.beta.20190915200038 fastlane/lib/fastlane/actions/google_play_track_version_codes.rb