class Fastlane::Actions::AppcenterReleasesAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/appcenter_releases/actions/appcenter_releases_action.rb, line 15
def self.authors
  ["Qutaibah Essa"]
end
available_options() click to toggle source
# File lib/fastlane/plugin/appcenter_releases/actions/appcenter_releases_action.rb, line 33
def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :api_token,
                                 env_name: "APPCENTER_API_TOKEN",
                                 description: "API Token for App Center Access",
                                 verify_block: proc do |value|
                                   UI.user_error!("No API token for App Center given, pass using `api_token: 'token'`") unless value && !value.empty?
                                 end),
    FastlaneCore::ConfigItem.new(key: :owner_name,
                                 env_name: "APPCENTER_OWNER_NAME",
                                 description: "Name of the owner of the application on App Center",
                                 verify_block: proc do |value|
                                   UI.user_error!("No owner name for App Center given, pass using `owner_name: 'owner name'`") unless value && !value.empty?
                                 end),
    FastlaneCore::ConfigItem.new(key: :app_name,
                                 env_name: "APPCENTER_APP_NAME",
                                 description: "Name of the application on App Center",
                                 verify_block: proc do |value|
                                   UI.user_error!("No app name for App Center given, pass using `app_name: 'app name'`") unless value && !value.empty?
                                 end)
  ]
end
description() click to toggle source
# File lib/fastlane/plugin/appcenter_releases/actions/appcenter_releases_action.rb, line 11
def self.description
  "Get app releases information from AppCenter"
end
is_supported?(platform) click to toggle source
# File lib/fastlane/plugin/appcenter_releases/actions/appcenter_releases_action.rb, line 56
def self.is_supported?(platform)
  [:ios, :android].include?(platform)
end
run(params) click to toggle source
# File lib/fastlane/plugin/appcenter_releases/actions/appcenter_releases_action.rb, line 7
def self.run(params)
  UI.message("The appcenter_releases plugin is working!")
end