From 16d060b7f6ddb4e0445e4ca7bcd6d4da8f3fa23c Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Sun, 24 Sep 2023 23:01:45 +0200 Subject: [PATCH] Reset YNH integration version to 1 on upstream version bumps --- tools/autoupdate_app_sources/autoupdate_app_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/autoupdate_app_sources/autoupdate_app_sources.py b/tools/autoupdate_app_sources/autoupdate_app_sources.py index 3e4b4d7..48ff84f 100644 --- a/tools/autoupdate_app_sources/autoupdate_app_sources.py +++ b/tools/autoupdate_app_sources/autoupdate_app_sources.py @@ -385,7 +385,7 @@ class AppAutoUpdater: if is_main: def repl(m): - return m.group(1) + new_version + m.group(3) + return m.group(1) + new_version + "~ynh1" content = re.sub( r"(\s*version\s*=\s*[\"\'])([\d\.]+)(\~ynh\d+[\"\'])", repl, content