Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kshann committed Nov 21, 2024
1 parent 4277e20 commit 66bb532
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66bb532

Please sign in to comment.