Merge pull request #13597 from bayandin/bayandin-patch-1
bump-formula-pr: even more precise tag replacement
This commit is contained in:
commit
864f1bed11
@ -243,8 +243,8 @@ module Homebrew
|
||||
elsif new_tag.present?
|
||||
[
|
||||
[
|
||||
/#{formula_spec.specs[:tag]}(?=")/,
|
||||
new_tag,
|
||||
/tag:(\s+")#{formula_spec.specs[:tag]}(?=")/,
|
||||
"tag:\\1#{new_tag}\\2",
|
||||
],
|
||||
[
|
||||
formula_spec.specs[:revision],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user