Sha256: 1c82b8c41c34b7e10288a3cd12e83b0c92e455d78c6985fd96d4ce2d0904cc68
Contents?: true
Size: 1020 Bytes
Versions: 35
Compression:
Stored size: 1020 Bytes
Contents
module Fastlane module Actions module SharedValues end class FastlaneVersionAction < Action def self.run(params) params = nil unless params.kind_of? Array value = (params || []).first defined_version = Gem::Version.new(value) if value UI.user_error!("Please pass minimum fastlane version as parameter to fastlane_version") unless defined_version if Gem::Version.new(Fastlane::VERSION) < defined_version UI.user_error!("The Fastfile requires a fastlane version of >= #{defined_version}. You are on #{Fastlane::VERSION}. Please update using `sudo gem update fastlane`.") end UI.message("fastlane version valid") end def self.step_text "Verifying required fastlane version" end def self.author "KrauseFx" end def self.description "Verifies the minimum fastlane version required" end def self.is_supported?(platform) true end end end end
Version data entries
35 entries across 35 versions & 1 rubygems