From bed11e5c42ee938e3711d699e252aa86b4b2cfcd Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 9 Apr 2021 09:06:10 +0100 Subject: [PATCH] bottle: use newly generated bottle file for `mtime`. --- Library/Homebrew/dev-cmd/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index bc2ec1b88..145f9a7fc 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -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,