Class: Fastlane::Actions::RollbarSourcemapsUploadAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::RollbarSourcemapsUploadAction
- Defined in:
- lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .return_value ⇒ Object
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
23 24 25 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 23 def self. ['Evgrafov Denis'] end |
.available_options ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 36 def self. [ FastlaneCore::ConfigItem.new(key: :api_key, description: 'Rollbar API key', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :os, description: 'ios or android', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :code_version, description: 'Code version', optional: false, type: String), FastlaneCore::ConfigItem.new(key: :bundle_identifier, description: 'Bundle identifier', optional: true, type: String), FastlaneCore::ConfigItem.new(key: :environment, description: 'Environment', optional: false, type: String), ] end |
.description ⇒ Object
19 20 21 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 19 def self.description 'Helps to upload sourcemaps to Rollbar' end |
.details ⇒ Object
31 32 33 34 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 31 def self.details # Optional: 'Helps to upload sourcemaps to Rollbar' end |
.is_supported?(platform) ⇒ Boolean
46 47 48 49 50 51 52 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 46 def self.is_supported?(platform) # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example) # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform # i[ios android].include?(platform) true end |
.return_value ⇒ Object
27 28 29 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 27 def self.return_value # If your method provides a return value, you can describe here what it does end |
.run(params) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/fastlane/plugin/rollbar/actions/rollbar_sourcemaps_upload_action.rb', line 9 def self.run(params) Helper::.create_bundle(params[:os]) Helper::.upload_bundle( params[:api_key], params[:os], params[:code_version], params[:environment], ) end |