From ec1cb341dced50267de872979e2e0dd130ab3c61 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Tue, 30 Jan 2024 16:37:32 +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 b905e8c..af16b53 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('\t✔️ v{}'.format(version['Version'])) else: sys.exit('\t❌ v{} (hash comparison failed)'.format(version['Version'])) + return True def retrieve_tag_info(tag_name, repository_url):