From 16a7cbaecacba5a7e3051256d74551e6ab5d7793 Mon Sep 17 00:00:00 2001 From: Nikolay Volosatov Date: Wed, 11 Dec 2019 15:39:39 +0300 Subject: [PATCH] fix #2 --- .../plugin/appmetrica/actions/upload_symbols_to_appmetrica.rb | 2 +- lib/fastlane/plugin/appmetrica/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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