From 3c1efb8029d6fa00932d1e5c7a708a8e4b96318e Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Thu, 4 Jan 2024 22:34:04 +0100 Subject: [PATCH] fix if --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 72a418d9..72dde3c9 100644 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -162,7 +162,7 @@ class AppAutoUpdater: print(f"\n Checking {source} ...") - if strategy == "latest_github_release": + if strategy == "latest_github_release" & asset != "tarball": ( new_version, new_asset_urls, @@ -229,7 +229,7 @@ class AppAutoUpdater: return bool(todos) if "main" in todos: - if strategy == "latest_github_release": + if strategy == "latest_github_release" & asset != "tarball": message = f"Upgrade to v{new_version}\nChangelog: {changelog_url}" else: message = f"Upgrade to v{new_version}"