aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-05-08 14:41:42 +0100
committerMike McQuaid2014-05-08 14:41:52 +0100
commitdbbdb61b560fbaf8620d03cf8dfa0733f610b414 (patch)
treea64664d10445d6aa1a5d08712a63d6fbe7309f09 /Library
parentfcfb395290365723c0c1cd9792a9f5ee27015efc (diff)
downloadhomebrew-dbbdb61b560fbaf8620d03cf8dfa0733f610b414.tar.bz2
bottle: include revision in commit message.
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