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

Update upgrade

This commit is contained in:
Sean Billups 2023-08-17 17:54:30 -05:00 committed by GitHub
parent a80cdc5fd0
commit 10c883e860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,9 +59,11 @@ mv ghost-$NEW_VERSION.zip /var/www/ghost/ghost/versions/$NEW_VERSION.zip
# Unzip the downloaded release
unzip /var/www/ghost/ghost/versions/$NEW_VERSION.zip -d /var/www/ghost/ghost/versions/$NEW_VERSION
# Update the version in manifest.toml (adjust the path as needed)
# Update the version in manifest.toml and change the NodeJS ver
sed -i "s/version = \".*\"/version = \"$NEW_VERSION\"/" ../manifest.toml
sed -i "s/NODEJS_VERSION=.*$/NODEJS_VERSION=18/" _common.sh
# UPGRADE
#=================================================