From e0040452a8ffa4fc450fd30bc1192cc2daeb8e74 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 30 Jan 2024 16:42:24 +0100 Subject: [PATCH] feat: Return true if verification passes --- tools/verify_versions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/verify_versions.py b/tools/verify_versions.py index c10bc8a..3935874 100644 --- a/tools/verify_versions.py +++ b/tools/verify_versions.py @@ -2,7 +2,7 @@ from urllib.request import urlopen import json -def verify_all_mod_versions(): +def verify_all_mod_versions() -> bool: """ Ensure all mod versions are properly declared to GitHub. @@ -32,6 +32,7 @@ def verify_all_mod_versions(): print(f"\t✔️ v{version['Version']}") else: sys.exit(f"\t❌ v{version['Version']} (hash comparison failed)") + return True def retrieve_tag_info(tag_name, repository_url):