From cef9fc6a160fe8683bfdf50644f716117ac0c4c7 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 --- autoupdate_app_sources/autoupdate_app_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index 3e4b4d7..48ff84f 100644 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/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