From 1c478198c9ef6dd260e179fe43fdc26e3d2abd9e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 22 Sep 2022 06:50:22 +0000 Subject: [PATCH 1/8] Upgrade to v5.15.0 --- conf/app.src | 4 ++-- conf/casper.src | 4 ++-- manifest.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/app.src b/conf/app.src index 3553922..d97db1b 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.8.3 -SOURCE_SUM=557c39864483fff00beeb60e27d84915e184845c69db3be83dcd7a65f327d497 +SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.15.0 +SOURCE_SUM=3965855d2cda20940558f367cbcf7ad9875b2002670fe9c64abf72f926c06315 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/casper.src b/conf/casper.src index d635bb2..fee3621 100644 --- a/conf/casper.src +++ b/conf/casper.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.2.3.zip -SOURCE_SUM=49d57ce078a2775f39d019ed74fa4ae9476e95fa35b02593c726c0ea25fe49df +SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.3.1.zip +SOURCE_SUM=62ea7d1da697f10f220852854d1bc4a1d7bf95b84b0021d55befd1b8af622a33 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 7af56e1..0b61f26 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.8.3~ynh1", + "version": "5.15.0~ynh1", "url": "https://ghost.org/", "upstream": { "license": "MIT", @@ -51,4 +51,4 @@ } ] } -} \ No newline at end of file +} From e722ab26a962c34b9717a7e74aecf2af5c61fd0e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 22 Sep 2022 06:50:22 +0000 Subject: [PATCH 2/8] Update to version 5.15.0 --- conf/admin.src | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 conf/admin.src diff --git a/conf/admin.src b/conf/admin.src new file mode 100644 index 0000000..f950af4 --- /dev/null +++ b/conf/admin.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.15.0.zip +SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed +SOURCE_SUM_PRG=sha256sum +SOURCE_FORMAT=zip +SOURCE_IN_SUBDIR=true From 562c558662df8ac87a08bca3ec682ae4e633311d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 22 Sep 2022 06:50:27 +0000 Subject: [PATCH 3/8] 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 829c056..610ced1 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.8.3~ynh1 +**Shipped version:** 5.15.0~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 66d2e59..5296cee 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.8.3~ynh1 +**Version incluse :** 5.15.0~ynh1 ## Captures d'écran From 703ed9877d10b24597825f095de71699a2349583 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 22 Sep 2022 21:36:03 +0200 Subject: [PATCH 4/8] Make sure final_path is a git repo --- scripts/install | 1 + scripts/upgrade | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/scripts/install b/scripts/install index 388008d..b57d7b8 100644 --- a/scripts/install +++ b/scripts/install @@ -103,6 +103,7 @@ ynh_setup_source --dest_dir="$final_path" mkdir -p $final_path/ghost/core/content/themes/casper ynh_setup_source --dest_dir="$final_path/ghost/core/content/themes/casper" --source_id="casper" +git init "$final_path" -q chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index d3a2b7c..4c0b937 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,6 +63,11 @@ if ynh_legacy_permissions_exists; then ynh_app_setting_delete --app=$app --key=is_public fi +# Make the final_path a git repo if needed +if [ ! -d "$final_path/.git" ]; then + git init "$final_path" -q +fi + #================================================= # STANDARD UPGRADE STEPS #================================================= From 814cd02abd456007fb1c98e96cdc70d6a1d8dcca Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 26 Sep 2022 23:24:42 +0200 Subject: [PATCH 5/8] =?UTF-8?q?Make=20sure=20final=5Fpath=20is=20a=20git?= =?UTF-8?q?=20repo=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4c0b937..dadbc73 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,11 +63,6 @@ if ynh_legacy_permissions_exists; then ynh_app_setting_delete --app=$app --key=is_public fi -# Make the final_path a git repo if needed -if [ ! -d "$final_path/.git" ]; then - git init "$final_path" -q -fi - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -180,6 +175,11 @@ chown $app:$app "$final_path/.yarnrc.yml" # BUILD GHOST #============================================== +# Make the final_path a git repo if needed +if [ ! -d "$final_path/.git" ]; then + ynh_exec_as $app git init "$final_path" -q +fi + if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Building Ghost... (this will take some time and resources!)" From ac8ca1e0d83394662e71a67c0faec7afdc746637 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 29 Sep 2022 06:55:18 +0000 Subject: [PATCH 6/8] Upgrade to v5.16.2 --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index d97db1b..9dda867 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.15.0 -SOURCE_SUM=3965855d2cda20940558f367cbcf7ad9875b2002670fe9c64abf72f926c06315 +SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.16.2 +SOURCE_SUM=76dba5c55c20ac1721213bd3eca4a5fd2698659ac2856ae3bf427d32180c3eae SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 0b61f26..09e86a4 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.15.0~ynh1", + "version": "5.16.2~ynh1", "url": "https://ghost.org/", "upstream": { "license": "MIT", From 527ca435d046a4dd661f95fda85378ad8630c3f2 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 29 Sep 2022 06:55:19 +0000 Subject: [PATCH 7/8] Update to version 5.16.2 --- conf/admin.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/admin.src b/conf/admin.src index f950af4..992eb17 100644 --- a/conf/admin.src +++ b/conf/admin.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.15.0.zip +SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.16.2.zip SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip From 3ff6ce0d3fcfde711890b5bbe7494962e3a40bbf Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 29 Sep 2022 06:55:26 +0000 Subject: [PATCH 8/8] 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 610ced1..52b355a 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.15.0~ynh1 +**Shipped version:** 5.16.2~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 5296cee..a4388ab 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.15.0~ynh1 +**Version incluse :** 5.16.2~ynh1 ## Captures d'écran