1
0

Update check for specific release to use boolean fixed-release-tag-updates instead of url check

This commit is contained in:
Gabriel Freitas
2025-06-22 19:21:53 -03:00
parent f8e943c5d9
commit 58f28a6f62

View File

@@ -196,8 +196,7 @@ def process_mod(start_timestamp, name, meta_file):
print("Download URL links to HEAD, checking latest commit...")
source = VersionSource.HEAD
new_version = get_version_string(VersionSource.HEAD, owner, repo, start_timestamp)
elif (("/releases/download/" in download_url and "/releases/latest/" not in download_url) or
("/releases/tag/" in download_url and "/releases/tag/latest" not in download_url)):
elif (meta.get('fixed-release-tag-updates') == True):
print("Download URL links to specific tag, checking that tag...")
source = VersionSource.SPECIFIC_TAG
tag_data = {}