build-release-notes: ignore dotfiles

Editors may leave these hanging about, but they're not likely to be
valid release notes

Change-Id: Ie3c9a6e849c6d54514ac25370a8d847a0caf499d
This commit is contained in:
Linus Heckemann
2025-05-08 23:47:59 +00:00
committed by jade
parent dbdf7c76e6
commit b0947777ec
+1 -1
View File
@@ -131,7 +131,7 @@ def run_on_dir(author_info: AuthorInfoDB, d):
d = pathlib.Path(d)
if not d.is_dir():
raise ValueError(f'provided path {d} is not a directory')
paths = pathlib.Path(d).glob('*.md')
paths = pathlib.Path(d).glob('[!.]*.md')
entries = defaultdict(list)
for p in paths:
try: