diff --git a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb index 1adb9e3..aaeaa82 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb @@ -181,7 +181,7 @@ def self.validate_version_exists(version) UI.user_error!("Incorrect version provided: #{version}. Expected x.y.z format.") unless user_version Actions.sh('git', 'fetch', '--tags') - existing_tag = sh('git', 'tag', '--list', user_version).chomp + existing_tag = Actions.sh('git', 'tag', '--list', user_version).chomp existing_tag = nil if existing_tag.empty? UI.user_error!("Release #{user_version} not found. Make sure you've passed the version you want to make hotfix for, not the upcoming hotfix version.") unless existing_tag