Merge pull request #20473 from Homebrew/formula-analytics-tahoe

formula-analytics: add macOS Tahoe
This commit is contained in:
Mike McQuaid 2025-08-15 15:26:32 +00:00 committed by GitHub
commit ccb53c688f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -379,6 +379,7 @@ module Homebrew
when /^13\.?/ then "macOS Ventura (13)"
when /^14\.?/ then "macOS Sonoma (14)"
when /^15\.?/ then "macOS Sequoia (15)"
when /^26\.?/ then "macOS Tahoe (26)"
when /Ubuntu(-Server)? (14|16|18|20|22)\.04/ then "Ubuntu #{Regexp.last_match(2)}.04 LTS"
when /Ubuntu(-Server)? (\d+\.\d+).\d ?(LTS)?/
"Ubuntu #{Regexp.last_match(2)} #{Regexp.last_match(3)}".strip