mirror of
https://github.com/YunoHost-Apps/nocodb_ynh.git
synced 2024-09-03 19:56:01 +02:00
Upgrade to v0.104.2 and fix upgrade script
This commit is contained in:
parent
b833fa7094
commit
fff75e5f8c
4 changed files with 5 additions and 4 deletions
2
conf/env
2
conf/env
|
@ -1,4 +1,4 @@
|
|||
NODE_ENV=dev
|
||||
NODE_ENV=production
|
||||
PORT=__PORT__
|
||||
NC_DB=mysql2://localhost:3306?u=__DB_USER__&p=__DB_PWD__&d=__DB_NAME__
|
||||
NC_AUTH_JWT_SECRET=__JWT_SECRET__
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "No-code platform that turns any database into a smart spreadsheet",
|
||||
"fr": "Plateform sans code qui transforme toute base de données en un tableur intelligent."
|
||||
},
|
||||
"version": "0.100.2~ynh1",
|
||||
"version": "0.104.2~ynh1",
|
||||
"url": "https://www.nocodb.com",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
|
|
|
@ -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_MANIFEST_VERSION
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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_MANIFEST_VERSION
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue