From a59d346fcff9245db811f8d30f1871d0dc0e549e Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Sat, 16 Jul 2016 01:26:50 +0100 Subject: [PATCH] xcode: track prerelease releases --- Library/Homebrew/os/mac/xcode.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index c5b7b34385..4bb3201239 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -27,6 +27,11 @@ module OS end end + def prerelease? + # TODO: bump to version >= "8.1" after Xcode 8.0 is stable. + version > "7.3.1" + end + def outdated? version < latest_version end