diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b242916608..e7d0ff46f5 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1626,6 +1626,7 @@ class Formula "head" => head&.version&.to_s, "bottle" => !bottle_specification.checksums.empty?, }, + "urls" => {}, "revision" => revision, "version_scheme" => version_scheme, "bottle" => {}, @@ -1677,6 +1678,11 @@ class Formula } end hsh["bottle"][spec_sym] = bottle_info + hsh["urls"][spec_sym] = { + "url" => spec.url, + "tag" => spec.specs[:tag], + "revision" => spec.specs[:revision], + } end hsh["options"] = options.map do |opt|