mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
fix if
This commit is contained in:
parent
8ff2088698
commit
3c1efb8029
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ class AppAutoUpdater:
|
||||||
|
|
||||||
print(f"\n Checking {source} ...")
|
print(f"\n Checking {source} ...")
|
||||||
|
|
||||||
if strategy == "latest_github_release":
|
if strategy == "latest_github_release" & asset != "tarball":
|
||||||
(
|
(
|
||||||
new_version,
|
new_version,
|
||||||
new_asset_urls,
|
new_asset_urls,
|
||||||
|
@ -229,7 +229,7 @@ class AppAutoUpdater:
|
||||||
return bool(todos)
|
return bool(todos)
|
||||||
|
|
||||||
if "main" in 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}"
|
message = f"Upgrade to v{new_version}\nChangelog: {changelog_url}"
|
||||||
else:
|
else:
|
||||||
message = f"Upgrade to v{new_version}"
|
message = f"Upgrade to v{new_version}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue