diff --git a/lib/fastlane/plugin/appmetrica/actions/upload_symbols_to_appmetrica.rb b/lib/fastlane/plugin/appmetrica/actions/upload_symbols_to_appmetrica.rb index ba2205e..632a383 100644 --- a/lib/fastlane/plugin/appmetrica/actions/upload_symbols_to_appmetrica.rb +++ b/lib/fastlane/plugin/appmetrica/actions/upload_symbols_to_appmetrica.rb @@ -54,7 +54,7 @@ def self.find_binary(params) params[:binary_path] = File.expand_path(params[:binary_path]) - cli_version = Gem::Version.new(`#{params[:binary_path]} --version`.strip) + cli_version = Gem::Version.new(`#{params[:binary_path].shellescape} --version`.strip) unless Gem::Requirement.new(Fastlane::Appmetrica::CLI_VERSION) =~ cli_version UI.user_error!("Your 'helper' is outdatedcd, please upgrade to at least version "\ "#{Fastlane::Appmetrica::CLI_VERSION} and start again!") diff --git a/lib/fastlane/plugin/appmetrica/version.rb b/lib/fastlane/plugin/appmetrica/version.rb index 76c3716..479cc08 100644 --- a/lib/fastlane/plugin/appmetrica/version.rb +++ b/lib/fastlane/plugin/appmetrica/version.rb @@ -1,6 +1,6 @@ module Fastlane module Appmetrica - VERSION = "0.1.1" + VERSION = "0.1.2" CLI_VERSION = "~> 0.0" end end