aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-12 22:37:51 -0500
committerJack Nagel2014-07-12 22:37:51 -0500
commit64bd49c7f5517be546d5d43a7a54be4a5ada58a8 (patch)
tree2d8ab7fd1ffb7d1dc61195d3e8c6b169872ef703 /Library
parentf9e98cc7107166db3bd83b2ae0aa04759173357a (diff)
downloadhomebrew-64bd49c7f5517be546d5d43a7a54be4a5ada58a8.tar.bz2
Use pkg_version accessor
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