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

Automatically bump yunohost requirement to 11.2.16

This commit is contained in:
Alexandre Aubin 2024-06-23 15:36:32 +02:00
parent 889dfd374d
commit 2741712f84

View file

@ -374,7 +374,9 @@ def cleanup():
# Add helpers_version = '2.1' after yunohost requirement in manifest
raw_manifest = open("manifest.toml", "r").read()
if "helpers_version" not in raw_manifest:
raw_manifest = re.sub('(yunohost = .*)', '\\1\nhelpers_version = "2.1"', raw_manifest)
raw_manifest = re.sub('yunohost = ">= 11\..*"', 'yunohost = ">= 11.2.16"', raw_manifest)
open("manifest.toml", "w").write(raw_manifest)