1
0
Fork 0
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:
tituspijean 2023-01-28 17:29:38 +01:00
parent b833fa7094
commit fff75e5f8c
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
4 changed files with 5 additions and 4 deletions

View file

@ -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__

View file

@ -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",

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_MANIFEST_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_MANIFEST_VERSION
popd
#=================================================