class Fastlane::Actions::CurrSemverAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 29 def self.available_options [ ] end
description()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 12 def self.description "Gets the current version from the project's pubspec.yaml file" end
details()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 24 def self.details # Optional: "" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 35 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 # # [:ios, :mac, :android].include?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 20 def self.return_value # If your method provides a return value, you can describe here what it does end
run(options)
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/curr_semver_action.rb, line 8 def self.run(options) Sunny.current_semver end