[apple] Fix regex to exclude non-macos releases
This also drops 11.0 and 12.0, which is okay since the dates we have are technically for 11.0.1 and 12.0.1 anyway.
This commit is contained in:
@@ -23,7 +23,7 @@ URLS = [
|
|||||||
CONFIG = {
|
CONFIG = {
|
||||||
"macos": [
|
"macos": [
|
||||||
# This covers Sierra and beyond
|
# This covers Sierra and beyond
|
||||||
r"macOS[\D]+(?P<version>\d+(?:\.\d+)*)",
|
r"^macOS[\D]+(?P<version>\d+(?:\.\d+)*)",
|
||||||
# This covers Mavericks - El Capitan
|
# This covers Mavericks - El Capitan
|
||||||
r"OS\s+X\s[\w\s]+\sv?(?P<version>\d+(?:\.\d+)+)",
|
r"OS\s+X\s[\w\s]+\sv?(?P<version>\d+(?:\.\d+)+)",
|
||||||
# This covers even older versions (OS X)
|
# This covers even older versions (OS X)
|
||||||
|
|||||||
Reference in New Issue
Block a user