Any files starting with a dot(.) are not release files

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-03-17 07:48:03 +00:00 committed by Pedro Algarvio
parent 1cde51d7ee
commit f7d8cc0c46

View file

@ -1297,6 +1297,8 @@ def github(
break
for entry in contents:
entry_path = pathlib.Path(entry["Key"])
if entry_path.name.startswith("."):
continue
release_artifacts_listing[entry_path] = entry["Size"]
if not ret["IsTruncated"]:
break