From 5306ef08d61594d5ce4333e7a287a6a7ce0478c5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 3 Mar 2013 10:52:19 +0000 Subject: [PATCH] brew-test-bot: fix bottle function name. --- Library/Contributions/cmd/brew-test-bot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 58e4f5e6c1..9ce324fa77 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?