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:
parent
a80cdc5fd0
commit
10c883e860
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue