Reset YNH integration version to 1 on upstream version bumps
This commit is contained in:
parent
b5ff2da9c8
commit
1352b4253e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user