1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge pull request #1747 from orhtej2/patch-1

Reset YNH integration version to 1 on upstream version bumps
This commit is contained in:
Alexandre Aubin 2023-09-24 23:24:32 +02:00 committed by GitHub
commit a8441a0dfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,7 +385,7 @@ class AppAutoUpdater:
if is_main: if is_main:
def repl(m): def repl(m):
return m.group(1) + new_version + m.group(3) return m.group(1) + new_version + "~ynh1"
content = re.sub( content = re.sub(
r"(\s*version\s*=\s*[\"\'])([\d\.]+)(\~ynh\d+[\"\'])", repl, content r"(\s*version\s*=\s*[\"\'])([\d\.]+)(\~ynh\d+[\"\'])", repl, content