Method: Fastlane::Actions::AppStoreBuildNumberAction.run
- Defined in:
- fastlane/lib/fastlane/actions/app_store_build_number.rb
.run(params) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'fastlane/lib/fastlane/actions/app_store_build_number.rb', line 8 def self.run(params) require 'spaceship' build_nr = get_build_number(params) # Convert build_nr to int (for legacy use) if no "." in string if build_nr.kind_of?(String) && !build_nr.include?(".") build_nr = build_nr.to_i end Actions.lane_context[SharedValues::LATEST_BUILD_NUMBER] = build_nr end |