parent
ba578f4ae2
commit
b5ccad093d
@ -512,12 +512,6 @@ module Homebrew
|
|||||||
|
|
||||||
return unless args.json?
|
return unless args.json?
|
||||||
|
|
||||||
bottle_filename = if bottle.root_url.match?(GitHubPackages::URL_REGEX)
|
|
||||||
filename.github_packages
|
|
||||||
else
|
|
||||||
filename.url_encode
|
|
||||||
end
|
|
||||||
|
|
||||||
json = {
|
json = {
|
||||||
f.full_name => {
|
f.full_name => {
|
||||||
"formula" => {
|
"formula" => {
|
||||||
@ -543,7 +537,7 @@ module Homebrew
|
|||||||
"date" => Pathname(local_filename).mtime.strftime("%F"),
|
"date" => Pathname(local_filename).mtime.strftime("%F"),
|
||||||
"tags" => {
|
"tags" => {
|
||||||
bottle_tag.to_s => {
|
bottle_tag.to_s => {
|
||||||
"filename" => bottle_filename,
|
"filename" => filename.url_encode,
|
||||||
"local_filename" => local_filename,
|
"local_filename" => local_filename,
|
||||||
"sha256" => sha256,
|
"sha256" => sha256,
|
||||||
"formulae_brew_sh_path" => formulae_brew_sh_path,
|
"formulae_brew_sh_path" => formulae_brew_sh_path,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user