Merge pull request #8731 from SeekingMeaning/bump-cask-pr/version-with-colon

bump-cask-pr: fix branch name for versions with colon
This commit is contained in:
Seeker 2020-09-15 12:04:30 -07:00 committed by GitHub
commit 16f936a534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,