chromium: get-commit-message.py: Support releases with 1 security fix

There was an out-of-band security release with only a single security fix:
https://chromereleases.googleblog.com/2022/03/stable-channel-update-for-desktop_25.html
main
Michael Weiss 2 years ago
parent d3dd7c459e
commit 92559b7330
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
  1. 2
      pkgs/applications/networking/browsers/chromium/get-commit-message.py

@ -38,7 +38,7 @@ for entry in feed.entries:
else:
print('chromium: TODO -> ' + version + '\n')
print(url)
if fixes := re.search(r'This update includes .+ security fixes\.', content):
if fixes := re.search(r'This update includes .+ security fix(es)?\.', content):
fixes = fixes.group(0)
if zero_days := re.search(r'Google is aware( of reports)? th(e|at) .+ in the wild\.', content):
fixes += " " + zero_days.group(0)

Loading…
Cancel
Save