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 d3e5259 commit e004045
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(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):
Expand Down

0 comments on commit e004045

Please sign in to comment.