1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-09-22 23:04:42 +02:00
parent a628a77590
commit 5447829e41
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -85,12 +85,12 @@ then
pushd $final_path
# Shut down your forum
./nodebb stop
ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb stop
# Grab the latest and greatest code
git fetch # Grab the latest code from the NodeBB Repository
git reset --hard origin/$nodebb_version # Replace v1.12.x with the branch name!
# Run the NodeBB upgrade script
./nodebb upgrade
ynh_exec_as $app $ynh_node_load_PATH $final_path/nodebb upgrade
popd
fi