bump-cask-pr: fix branch name for versions with colon
Replace commas and colons with hyphens
This commit is contained in:
parent
03bba5a66c
commit
584c839dca
@ -193,7 +193,7 @@ module Homebrew
|
|||||||
sourcefile_path: cask.sourcefile_path,
|
sourcefile_path: cask.sourcefile_path,
|
||||||
old_contents: old_contents,
|
old_contents: old_contents,
|
||||||
origin_branch: origin_branch,
|
origin_branch: origin_branch,
|
||||||
branch_name: "bump-#{cask.token}-#{new_version}",
|
branch_name: "bump-#{cask.token}-#{new_version.tr(",:", "-")}",
|
||||||
commit_message: "Update #{cask.token} from #{old_version} to #{new_version}",
|
commit_message: "Update #{cask.token} from #{old_version} to #{new_version}",
|
||||||
previous_branch: previous_branch,
|
previous_branch: previous_branch,
|
||||||
tap: cask.tap,
|
tap: cask.tap,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user