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

add autoupdate options

This commit is contained in:
lapineige 2024-03-09 21:13:14 +01:00 committed by Alexandre Aubin
parent eebb141f60
commit 3236111bfe

View file

@ -105,10 +105,13 @@ ram.runtime = "50M"
# assuming the upstream's code repo is on github and relies on tags or releases
# See the 'sources' resource documentation for more details
{% if data.auto_update -%}
autoupdate.strategy = "latest_github_tag"
{% if data.auto_update != "none" -%}
autoupdate.strategy = "{{ data.auto_update }}"
{% else -%}
# autoupdate.strategy = "latest_github_tag"
{% if data.generator_mode == "tutorial" -%}
# You might want to add an "autoupdate strategy" setting to that your app receive automated pull request with each new update, which also trigger automated testing.
# autoupdate.strategy = ""
{%- endif -%}
{% endif %}
{% if data.system_user -%}