Skip to content
Snippets Groups Projects
Commit 584c839d authored by Seeker's avatar Seeker
Browse files

bump-cask-pr: fix branch name for versions with colon

Replace commas and colons with hyphens
parent 03bba5a6
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,7 @@ module Homebrew
sourcefile_path: cask.sourcefile_path,
old_contents: old_contents,
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}",
previous_branch: previous_branch,
tap: cask.tap,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment