aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/os/mac/xcode.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index c5b7b3438..4bb320123 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