Class: Fastlane::Actions::AndroidGetAlphaVersionAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::AndroidGetAlphaVersionAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .output ⇒ Object
- .return_value ⇒ Object
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
52 53 54 55 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 52 def self. # So no one will ever forget your contribution to fastlane :) You are awesome btw! ['Automattic'] end |
.available_options ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 28 def self. [ FastlaneCore::ConfigItem.new(key: :build_gradle_path, description: 'Path to the build.gradle file', type: String, optional: true, conflicting_options: [:version_properties_path]), FastlaneCore::ConfigItem.new(key: :version_properties_path, description: 'Path to the version.properties file', type: String, optional: true, conflicting_options: [:build_gradle_path]), ] end |
.description ⇒ Object
20 21 22 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 20 def self.description 'Gets the alpha version of the app' end |
.details ⇒ Object
24 25 26 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 24 def self.details 'Gets the alpha version of the app' end |
.is_supported?(platform) ⇒ Boolean
57 58 59 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 57 def self.is_supported?(platform) platform == :android end |
.output ⇒ Object
43 44 45 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 43 def self.output # Define the shared values you are going to provide end |
.return_value ⇒ Object
47 48 49 50 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 47 def self.return_value # If you method provides a return value, you can describe here what it does 'Return the alpha version of the app' end |
.run(params) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_get_alpha_version.rb', line 4 def self.run(params) require_relative '../../helper/android/android_version_helper' build_gradle_path = params[:build_gradle_path] version_properties_path = params[:version_properties_path] Fastlane::Helper::Android::VersionHelper.get_alpha_version( build_gradle_path: build_gradle_path, version_properties_path: version_properties_path ) end |