aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-03-03 10:52:19 +0000
committerMike McQuaid2013-03-03 23:24:08 +0000
commita32b45b30281e9ebb071fb46ce78b7d8e4d3695d (patch)
tree6ec762bea6df96e8335c902cb7ffd36ebc370d67 /Library
parent3531460825aed558858ad6b6d2aa82e0da315ed3 (diff)
downloadhomebrew-a32b45b30281e9ebb071fb46ce78b7d8e4d3695d.tar.bz2
brew-test-bot: fix bottle function name.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 58e4f5e6c..9ce324fa7 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -198,8 +198,8 @@ class Test
test "brew install --verbose --build-bottle #{formula}"
return unless steps.last.status == :passed
test "brew bottle #{formula}", true
- bottle_version = bottle_new_version(formula_object)
- bottle_filename = bottle_filename(formula_object, bottle_version)
+ bottle_revision = bottle_new_revision(formula_object)
+ bottle_filename = bottle_filename(formula_object, bottle_revision)
test "brew uninstall #{formula}"
test "brew install #{bottle_filename}"
test "brew test #{formula}" if formula_object.test_defined?