Skip to content

Commit

Permalink
improve script to handle different formatting for categories with no …
Browse files Browse the repository at this point in the history
…issues
  • Loading branch information
georgemccabe committed Dec 18, 2024
1 parent 78987fb commit e53d7da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/scripts/dev_tools/compile_official_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
break
if line.lstrip().startswith('*'):
items[category].append(line)
elif line.strip() == 'NONE' or line.startswith('MET') or line.startswith('---') or line.startswith('==='):
elif line.strip().lower() == 'none' or line.startswith('MET') or line.startswith('---') or line.startswith('==='):
continue
elif not items.get(category):
continue
else:
items[category][-1] += f'\n{line}'
Expand Down

0 comments on commit e53d7da

Please sign in to comment.