Method: Deliver::DetectValues#find_version
- Defined in:
- lib/deliver/detect_values.rb
#find_version(options) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/deliver/detect_values.rb', line 49 def find_version() return if [:app_version] if [:ipa] [:app_version] ||= FastlaneCore::IpaFileAnalyser.fetch_app_version([:ipa]) elsif [:pkg] [:app_version] ||= FastlaneCore::PkgFileAnalyser.fetch_app_version([:pkg]) end rescue UI.user_error!("Could not infer your app's version") end |