1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00

Fix use of upstream version helper

This commit is contained in:
tituspijean 2023-01-28 17:41:37 +01:00
parent f39361286e
commit 9734c263eb
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 3 additions and 2 deletions

View file

@ -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 --force
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
#=================================================

View file

@ -118,7 +118,8 @@ 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 --force
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_upstream_version)
popd
#=================================================