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:
parent
eebb141f60
commit
3236111bfe
1 changed files with 6 additions and 3 deletions
|
@ -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 -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue