From 10c883e8607edadcaba1fd2fd51f1c03a74dfcc8 Mon Sep 17 00:00:00 2001 From: Sean Billups <112226699+slbillups@users.noreply.github.com> Date: Thu, 17 Aug 2023 17:54:30 -0500 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #=================================================