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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user