bottle: use newly generated bottle file for mtime.

This commit is contained in:
Mike McQuaid
2021-04-09 09:06:31 +01:00
parent ec3c9b9d7f
commit bed11e5c42
+1 -1
View File
@@ -541,7 +541,7 @@ module Homebrew
"prefix" => bottle.prefix,
"cellar" => bottle.cellar.to_s,
"rebuild" => bottle.rebuild,
"date" => f.local_bottle_path.mtime.strftime("%F"),
"date" => Pathname(local_filename).mtime.strftime("%F"),
"tags" => {
bottle_tag.to_s => {
"filename" => filename.bintray,