macos: add mojave (#9322)

This commit is contained in:
Denis Davydov 2018-09-24 21:20:49 +02:00 committed by Todd Gamblin
parent 8947b6b909
commit d2bd5177da

View file

@ -54,7 +54,8 @@ def __init__(self):
"10.10": "yosemite",
"10.11": "elcapitan",
"10.12": "sierra",
"10.13": "highsierra"}
"10.13": "highsierra",
"10.14": "mojave"}
mac_ver = '.'.join(py_platform.mac_ver()[0].split('.')[:2])
name = mac_releases.get(mac_ver, "macos")