diff --git a/README.md b/README.md index 52b355a..2a76a10 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Publishing, memberships, subscriptions and newsletters platform -**Shipped version:** 5.16.2~ynh1 +**Shipped version:** 5.17.0~ynh1 *(:warning: This is the `testing` branch. The [`master` branch](https://github.com/YunoHost-Apps/ghost_ynh/tree/master) used in the catalog is currently on version 5.16.2\~ynh1.)* ## Screenshots diff --git a/README_fr.md b/README_fr.md index a4388ab..a0b4421 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Plateforme d'édition, d'adhésions, d'abonnements et de newsletters -**Version incluse :** 5.16.2~ynh1 +**Version incluse :** 5.17.0~ynh1 *(:warning: Il s'agit de la branche `testing`. La [branche `master`](https://github.com/YunoHost-Apps/ghost_ynh/tree/master) utilisée dans le catalogue est actuellement en 5.16.2\~ynh1.)* ## Captures d'écran diff --git a/conf/admin.src b/conf/admin.src index 992eb17..1143ad6 100644 --- a/conf/admin.src +++ b/conf/admin.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.16.2.zip +SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.17.0.zip SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip diff --git a/conf/app.src b/conf/app.src index 9dda867..5b10986 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.16.2 -SOURCE_SUM=76dba5c55c20ac1721213bd3eca4a5fd2698659ac2856ae3bf427d32180c3eae +SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.17.0 +SOURCE_SUM=aeaaec70486a853da14a59a69fde24fbf2731f9423bc1d9423143f49403e2cef SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 09e86a4..c51da5a 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Publishing, memberships, subscriptions and newsletters platform", "fr": "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters" }, - "version": "5.16.2~ynh1", + "version": "5.17.0~ynh1", "url": "https://ghost.org/", "upstream": { "license": "MIT", diff --git a/scripts/install b/scripts/install index b57d7b8..d544dde 100644 --- a/scripts/install +++ b/scripts/install @@ -142,6 +142,9 @@ pushd "$final_path" ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn config set network-timeout 600000 ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn add knex-migrator ember-cli --dev --ignore-workspace-root-check --non-interactive ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn setup # catch-all command provided by Ghost that handles all the setup + pushd "ghost/admin" + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn build --environment/production # well, except for the admin + popd popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index dadbc73..290de65 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -190,6 +190,9 @@ then ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn install --non-interactive ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn add knex-migrator ember-cli --dev --ignore-workspace-root-check --non-interactive ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn setup + pushd "ghost/admin" + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH HOME="$final_path" yarn build --environment/production + popd popd fi