Remove invalid releases automatically (#466)

Automatically remove empty releases or releases which are released in the future, regardless of the product.

Also refactored a bit releasedata.py to use better names and clarify types.
This commit is contained in:
Marc Wrobel
2025-07-13 10:03:13 +02:00
parent ab64d95b0b
commit 081d884abe
286 changed files with 300 additions and 10735 deletions

View File

@@ -112,6 +112,7 @@ def run_scripts(summary: GitHubStepSummary, products: list[ProductFrontmatter])
# Add default configs
configs = [AutoConfig(product.name, {"_copy_product_releases": ""})] + configs
configs = configs + [AutoConfig(product.name, {"_remove_invalid_releases": ""})]
with GitHubGroup(product.name):
try: