Skip to content

Commit

Permalink
"keep" param not needed in evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirk Moors authored and Dirk Moors committed Apr 18, 2023
1 parent f1a0f9d commit b5f20b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ def calculate_version_number(current_version, strategy, omit_zero,offset)
increment_key(params, 'CFBundleVersion', next_build_number,'CURRENT_PROJECT_VERSION')
end

if version_number_source.nil? and version_strategy == 'keep'
puts "No version number source specified and strategy is keep. Skipping version number update"
if version_number_source.nil?
puts "No version number source specified. Skipping version number update"
else
current_version_number = get_version_number(params, version_number_source)
if version_strategy == 'keep'
Expand Down

0 comments on commit b5f20b3

Please sign in to comment.