From c33440d0dedeb144e621069536649f2e924cd2d8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 4 Apr 2023 18:55:05 +0200 Subject: [PATCH] autoupdate app sources: don't update if main version didnt change, despite previous commits --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 429d0972..8e543a41 100644 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -172,6 +172,10 @@ class AppAutoUpdater: print(f"Current version in manifest: {self.current_version}") print(f"Newest version on upstream: {new_version}") + if self.current_version == new_version: + print("Up to date") + continue + if isinstance(new_asset_urls, str) and infos["url"] == new_asset_urls: print(f"URL for asset {source} is up to date") continue