mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
xcode: track prerelease releases
This commit is contained in:
parent
b6772c1fde
commit
a59d346fcf
@ -27,6 +27,11 @@ module OS
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def prerelease?
|
||||||
|
# TODO: bump to version >= "8.1" after Xcode 8.0 is stable.
|
||||||
|
version > "7.3.1"
|
||||||
|
end
|
||||||
|
|
||||||
def outdated?
|
def outdated?
|
||||||
version < latest_version
|
version < latest_version
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user