Class: Fastlane::Actions::RustoredPublishApkAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::RustoredPublishApkAction
- Defined in:
- lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
25 26 27 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 25 def self. ["06ED"] end |
.available_options ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 33 def self. Fastlane::Helper::RustoredOptions. + [ FastlaneCore::ConfigItem.new( key: :apk_path, env_name: "RUSTORE_APK_PATH", description: "Path to the APK file you want to publish", optional: false, type: String ), FastlaneCore::ConfigItem.new( key: :services_type, env_name: "RUSTORE_SERVICES_TYPE", description: "The APK services type", optional: true, type: String ), FastlaneCore::ConfigItem.new( key: :is_main_apk, env_name: "RUSTORE_IS_MAIN_APK", description: "Whether this APK is the main APK", optional: false, type: Boolean ) ] end |
.description ⇒ Object
21 22 23 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 21 def self.description "Publish an APK file to RuStore" end |
.details ⇒ Object
29 30 31 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 29 def self.details "Uploads an APK to an existing RuStore app version." end |
.is_supported?(platform) ⇒ Boolean
59 60 61 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 59 def self.is_supported?(platform) [:android].include?(platform) end |
.run(params) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/fastlane/plugin/rustored/actions/rustored_publish_apk_action.rb', line 10 def self.run(params) Fastlane::Helper::RustoredHelper.publish_apk( token: params[:token], package_name: params[:package_name], version_id: params[:version_id], services_type: params[:services_type], is_main_apk: params[:is_main_apk], apk_path: params[:apk_path] ) end |