fastlane/lib/fastlane/helper/git_helper.rb in fastlane-2.158.0 vs fastlane/lib/fastlane/helper/git_helper.rb in fastlane-2.159.0
- old
+ new
@@ -43,9 +43,11 @@
return unless hash
command = %w(git describe)
command << '--tags' if match_lightweight
command << hash
+ command << '--match' if tag_match_pattern
+ command << tag_match_pattern if tag_match_pattern
Actions.sh(*command.compact, log: false).chomp
rescue
nil
end