From e226e31e7c4aa95e0b29e5033faa1ec4973f9a07 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:54:42 +0100 Subject: [PATCH 1/3] Use node 20 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b998ffe..dfe1838 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ #================================================= # nodejs version -nodejs_version=18 +nodejs_version=20 #================================================= # PERSONAL HELPERS From 209710f687325b779bffe8c97c1437bb888f9705 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:57:41 +0100 Subject: [PATCH 2/3] Run proper upgrade test. --- tests.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index eb73b8d..20bb109 100644 --- a/tests.toml +++ b/tests.toml @@ -1,3 +1,4 @@ test_format = 1.0 -[default] \ No newline at end of file +[default] + test_upgrade_from.6c6179b.name = "1.3.4" From a9122d8a4452ffd20ee1cc52d619ccc5f136046a Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:04:17 +0100 Subject: [PATCH 3/3] Actually replace sources. --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 617af86..4ffd971 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,7 +36,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep=".env" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 fi chmod -R o-rwx "$install_dir"