diff options
| author | Jack Nagel | 2014-07-12 22:37:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-12 22:37:51 -0500 |
| commit | 64bd49c7f5517be546d5d43a7a54be4a5ada58a8 (patch) | |
| tree | 2d8ab7fd1ffb7d1dc61195d3e8c6b169872ef703 /Library | |
| parent | f9e98cc7107166db3bd83b2ae0aa04759173357a (diff) | |
| download | homebrew-64bd49c7f5517be546d5d43a7a54be4a5ada58a8.tar.bz2 | |
Use pkg_version accessor
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 5 |
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 |
