github_packages: don't allow linuxbrew- prefix.
Given https://github.com/Homebrew/linuxbrew-core/pull/22874 we no longer need/want to allow a `linuxbrew-` repository prefix.
This commit is contained in:
parent
0cad0dfe55
commit
c141dd4480
@ -182,7 +182,7 @@ class GitHubPackages
|
||||
formula_name = bottle_hash["formula"]["name"]
|
||||
|
||||
_, org, repo, = *bottle_hash["bottle"]["root_url"].match(URL_REGEX)
|
||||
repo = "homebrew-#{repo}" unless HOMEBREW_OFFICIAL_REPO_PREFIXES_REGEX.match?(repo)
|
||||
repo = "homebrew-#{repo}" unless repo.start_with?("homebrew-")
|
||||
|
||||
version = bottle_hash["formula"]["pkg_version"]
|
||||
rebuild = bottle_hash["bottle"]["rebuild"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user