From 697f01aa8815f32b937fc236acc220c6866a10c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 18 Jan 2024 00:25:16 +0100 Subject: [PATCH] Add autoupdate, add toml schemas --- manifest.toml | 7 ++++++- tests.toml | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 6aaceb2..ec5c7b8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -1,3 +1,5 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json + packaging_format = 2 id = "wikijs" @@ -5,7 +7,7 @@ name = "Wiki.js" description.en = "Open source powerful wiki app built on Node.js, Git and Markdown" description.fr = "Wiki open source propulsé par Node.js, Git et Markdown" -version = "2.5.298~ynh1" +version = "2.5.298~ynh2" maintainers = ["yalh76"] @@ -43,6 +45,9 @@ ram.runtime = "50M" sha256 = "3bb290d77e3387dba5958c906629a6c5f751c17787903f1a021cbfa51cc88f1a" in_subdir = false + autoupdate.strategy = "latest_github_release" + autoupdate.asset = "wiki-js.tar.gz" + [resources.ports] [resources.system_user] diff --git a/tests.toml b/tests.toml index 91daf17..953b195 100644 --- a/tests.toml +++ b/tests.toml @@ -1,7 +1,9 @@ +#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json + test_format = 1.0 [default] # ------------ # Tests to run - # ------------ \ No newline at end of file + # ------------