1
0
Fork 0

Reset YNH integration version to 1 on upstream version bumps

This commit is contained in:
orhtej2 2023-09-24 23:01:45 +02:00 committed by GitHub
parent 61ca1b7565
commit cef9fc6a16

View file

@ -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