diff --git a/scripts/upgrade b/scripts/upgrade index ec2a6d0..5362f0e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================