From e4ed9bdf006254223028ea6c6f70e0df142eb405 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 7 Apr 2022 06:10:44 +0000 Subject: [PATCH 1/4] Upgrade to v1.13.2 --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index 0099746..e02b039 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.13.1.tar.gz -SOURCE_SUM=c549a3873ada86b810a8167165a0348ae8b725d8f20c1409e73e1690f0afaa34 +SOURCE_URL=https://github.com/louislam/uptime-kuma/archive/refs/tags/1.13.2.tar.gz +SOURCE_SUM=d54ee9979c987bc754771c7d2b66474f19218e3a1bcddff35f6af08c85c670bb SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 5720bec..af31be2 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted monitoring tool like Uptime-Robot", "fr": "Outil de surveillance auto-hébergé similaire à Uptime-Robot" }, - "version": "1.13.1~ynh1", + "version": "1.13.2~ynh1", "url": "https://github.com/louislam/uptime-kuma/", "upstream": { "license": "MIT", From 6da808b1d7e05fd5f28a04e213d801a79a192744 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 7 Apr 2022 06:10:48 +0000 Subject: [PATCH 2/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b11b76..0abccfd 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ It is a self-hosted monitoring tool like "Uptime Robot". - Certificate Info -**Shipped version:** 1.13.1~ynh1 +**Shipped version:** 1.13.2~ynh1 **Demo:** https://demo.uptime.kuma.pet diff --git a/README_fr.md b/README_fr.md index 419b443..c41cd3d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -25,7 +25,7 @@ It is a self-hosted monitoring tool like "Uptime Robot". - Certificate Info -**Version incluse :** 1.13.1~ynh1 +**Version incluse :** 1.13.2~ynh1 **Démo :** https://demo.uptime.kuma.pet From 0a55518f4097cf1bcc584b8527ad3b953724da7b Mon Sep 17 00:00:00 2001 From: hidrarga Date: Fri, 8 Apr 2022 15:39:18 +0200 Subject: [PATCH 3/4] exec npm install as app user --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6bef4a4..7ec6dd2 100755 --- a/scripts/install +++ b/scripts/install @@ -107,7 +107,7 @@ ynh_add_nginx_config ynh_script_progression --message="Installing Uptime Kuma dependencies..." --weight=7 pushd "$final_path" - ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install popd #================================================= From 8a23f867c8580b66230afcdb28d715cb7d804238 Mon Sep 17 00:00:00 2001 From: HgO Date: Sat, 9 Apr 2022 10:31:01 +0200 Subject: [PATCH 4/4] run npm install as app user in upgrade and restore scripts --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 06fd14c..428d3fc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -82,7 +82,7 @@ ynh_use_nodejs #================================================= ynh_script_progression --message="Reinstalling dependencies..." --weight=7 -cd $final_path && ynh_exec_warn_less $ynh_npm install +cd $final_path && ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install #================================================= # RESTORE VARIOUS FILES diff --git a/scripts/upgrade b/scripts/upgrade index 3a81425..a2fb175 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,7 @@ ynh_add_nginx_config ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7 pushd "$final_path" - ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install popd #=================================================