aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 790051117..71e12af38 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -240,8 +240,11 @@ module Homebrew extend self
end
end
+ version = f.version.to_s
+ version += "_#{f.revision}" if f.revision.to_i > 0
+
safe_system 'git', 'commit', '--no-edit', '--verbose',
- "--message=#{f.name}: #{update_or_add} #{f.version} bottle.",
+ "--message=#{f.name}: #{update_or_add} #{version} bottle.",
'--', f.path
end
end