From e67c2da1637151e4986506bf94f497ec0d01e566 Mon Sep 17 00:00:00 2001 From: John Douglas Date: Sat, 25 Jun 2022 21:43:48 +1200 Subject: [PATCH] Update increment_version_number_in_xcodeproj.rb --- .../actions/increment_version_number_in_xcodeproj.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fastlane/plugin/versioning/actions/increment_version_number_in_xcodeproj.rb b/lib/fastlane/plugin/versioning/actions/increment_version_number_in_xcodeproj.rb index 03b85ad..49918f8 100644 --- a/lib/fastlane/plugin/versioning/actions/increment_version_number_in_xcodeproj.rb +++ b/lib/fastlane/plugin/versioning/actions/increment_version_number_in_xcodeproj.rb @@ -85,9 +85,9 @@ def self.set_version_number_using_target(params, next_version_number) config.build_settings["MARKETING_VERSION"] = next_version_number else target.build_configurations.each do |config| - UI.message "updating #{config.name} to version #{next_version_number}" - config.build_settings["MARKETING_VERSION"] = next_version_number - end unless target.nil? + UI.message "updating #{config.name} to version #{next_version_number}" + config.build_settings["MARKETING_VERSION"] = next_version_number + end unless target.nil? end