aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 7cc493506..316e5b43f 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -244,12 +244,9 @@ module Homebrew
end
end
- version = f.version.to_s
- version += "_#{f.revision}" if f.revision.to_i > 0
-
HOMEBREW_REPOSITORY.cd do
safe_system "git", "commit", "--no-edit", "--verbose",
- "--message=#{f.name}: #{update_or_add} #{version} bottle.",
+ "--message=#{f.name}: #{update_or_add} #{f.pkg_version} bottle.",
"--", f.path
end
end