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
commit5306ef08d61594d5ce4333e7a287a6a7ce0478c5 (patch)
tree827c3211558c88ff918a7dd71be5ecb9cb209a7c /Library
parent8aaa58095a917d8e21a92ea2b042204711e091c5 (diff)
downloadbrew-5306ef08d61594d5ce4333e7a287a6a7ce0478c5.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?