extract: Log formula version

When extracting based on --git-revision the version of the formula is
not known to the user upfront.
This commit is contained in:
Ilya Kulakov 2024-07-03 16:41:31 -07:00
parent a40f32776f
commit 0b4839b397

View File

@ -147,7 +147,7 @@ module Homebrew
odebug "Overwriting existing formula at #{path}"
path.delete
end
ohai "Writing formula for #{name} from revision #{rev} to:", path
ohai "Writing formula for #{name} at #{version} from revision #{rev} to:", path
path.dirname.mkpath
path.write result
end