bottle: Set date to the mtime of the bottle file

This commit is contained in:
Shaun Jackman 2021-04-07 13:50:45 -07:00 committed by Mike McQuaid
parent fa3af8d24d
commit ec3c9b9d7f
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -541,7 +541,7 @@ module Homebrew
"prefix" => bottle.prefix,
"cellar" => bottle.cellar.to_s,
"rebuild" => bottle.rebuild,
"date" => Time.now.strftime("%F"),
"date" => f.local_bottle_path.mtime.strftime("%F"),
"tags" => {
bottle_tag.to_s => {
"filename" => filename.bintray,