Skip to content

Commit

Permalink
feat: Return true if verification passes
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Jan 30, 2024
1 parent 13ebb81 commit ec1cb34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/verify_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit ec1cb34

Please sign in to comment.