From 6c453fbd8ea38a27bdf41c4b511976444202dff8 Mon Sep 17 00:00:00 2001
From: yunohost-bot <yunohost-bot@users.noreply.github.com>
Date: Fri, 6 May 2022 06:24:04 +0000
Subject: [PATCH] Upgrade to v4.2.2

---
 conf/app.src  |  7 ++++---
 manifest.json | 10 ++++++++--
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/conf/app.src b/conf/app.src
index 4e5359f..8aab743 100644
--- a/conf/app.src
+++ b/conf/app.src
@@ -1,7 +1,8 @@
-SOURCE_URL=https://github.com/tracim/tracim/archive/refs/tags/release_04.02.00.tar.gz
-SOURCE_SUM=b8d2ed27a94962e9c10a03c2548cf489a3b16cf3d3302cec1fda4b065d5273c3
+SOURCE_URL=https://api.github.com/repos/tracim/tracim/tarball/release_04.02.02
+SOURCE_SUM=0da81544a65e9678b2f26729b06f166c084c7756a799dc755d1d9e75b37b96cb
 SOURCE_SUM_PRG=sha256sum
-SOURCE_FORMAT=tar.gz
+
+SOURCE_FORMAT=02
 SOURCE_IN_SUBDIR=true
 SOURCE_FILENAME=
 SOURCE_EXTRACT=true
diff --git a/manifest.json b/manifest.json
index 5d27e41..43fc0d6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -5,7 +5,7 @@
     "description": {
         "en": "Collaborative platform software intended for (not only technical) team collaboration."
     },
-    "version": "4.2.0~ynh1",
+    "version": "4.2.2~ynh1",
     "url": "https://www.tracim.fr",
     "upstream": {
         "license": "AGPL-3.0-or-later,LGPL-3.0-or-later,CC-BY-SA-2.5,MIT",
@@ -44,7 +44,13 @@
                     "en": "Choose the application language",
                     "fr": "Choisissez la langue de l'application"
                 },
-                "choices": ["fr", "en", "pt", "de", "ar"],
+                "choices": [
+                    "fr",
+                    "en",
+                    "pt",
+                    "de",
+                    "ar"
+                ],
                 "default": "fr"
             },
             {