From 90ccd30e96910d0c099e9fb6c4fd6c3e314c1129 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 06:35:55 +0000 Subject: [PATCH 1/4] Upgrade to v5.17.0 --- conf/admin.src | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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", From ea371a80caf31c47a68bb7d2797c654d8ed02008 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 06:36:03 +0000 Subject: [PATCH 2/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52b355a..e3ea1de 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 `ci-auto-update-v5.17.0` 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..b280a49 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 `ci-auto-update-v5.17.0`. 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 From f6e90a14f9708a0ae1e44d37b0401315f3f6b260 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 1 Oct 2022 18:55:44 +0000 Subject: [PATCH 3/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3ea1de..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.17.0~ynh1 *(:warning: This is the `ci-auto-update-v5.17.0` 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.)* +**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 b280a49..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.17.0~ynh1 *(:warning: Il s'agit de la branche `ci-auto-update-v5.17.0`. La [branche `master`](https://github.com/YunoHost-Apps/ghost_ynh/tree/master) utilisée dans le catalogue est actuellement en 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 From 61e35d5d0b951327f9b51f2b6e31be6bffb47777 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 3 Oct 2022 21:48:14 +0200 Subject: [PATCH 4/4] Fix admin build --- scripts/install | 3 +++ scripts/upgrade | 3 +++ 2 files changed, 6 insertions(+) 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