class Fastlane::Helper::BmHelper
Constants
- CONST_PLATFORM__IOS__SIGN_CONFIG_TYPE__ADDHOC
- CONST_PLATFORM__IOS__SIGN_CONFIG_TYPE__APPSTORE
- CONST_PLATFORM__IOS__SIGN_CONFIG_TYPE__DEVELOPMENT
- CONST_PROJECT_ENVIRONMENT__DEV
- CONST_PROJECT_ENVIRONMENT__PROD
- CONST_PROJECT_TYPE__ANDROID
- CONST_PROJECT_TYPE__IOS
class methods that you define here become available in your action as `Helper::BmHelper.your_method`
- CONST_PROJECT_TYPE__OTHER
Public Class Methods
show_message()
click to toggle source
# File lib/fastlane/plugin/testbm/helper/bm_helper.rb, line 23 def self.show_message UI.message("Hello from the testbm plugin helper!") end
version_func_get_version(platform_type)
click to toggle source
# File lib/fastlane/plugin/testbm/helper/bm_helper.rb, line 27 def self.version_func_get_version(platform_type) build_number = "" version_number = "" if platform_type == Helper::BmHelper::CONST_PROJECT_TYPE__IOS version_number = Actions.lane_context[Actions::SharedValues::VERSION_NUMBER] build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER] elsif version_number = File.read("version.name").to_s build_number = File.read("version.number").to_s end {build_number: build_number, version_number: version_number} end