From a9409906e0176bf07f19d7832025278031d06537 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 28 Jan 2023 17:41:37 +0100 Subject: [PATCH] Fix use of upstream version helper --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a13a176..0ca4c6e 100755 --- a/scripts/install +++ b/scripts/install @@ -130,7 +130,7 @@ pushd $final_path ynh_print_info --message="...Done! Installing NocoDB now..." fi - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$YNH_APP_MANIFEST_VERSION + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$(ynh_app_upstream_version) popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index a358b22..b9c3f41 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,7 +119,7 @@ pushd $final_path fi ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm uninstall nocodb - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$YNH_APP_MANIFEST_VERSION + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --save nocodb@$(ynh_app_upstream_version) popd #=================================================