1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Merge pull request #31 from YunoHost-Apps/3.40.5

Upgrade to version 3.40.5
This commit is contained in:
Éric Gaspar 2021-01-24 17:24:38 +01:00 committed by GitHub
commit 6d1bbbefd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 24 deletions

View file

@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview
Ghost is a fully open source, adaptable platform for building and running a modern online publication.
**Shipped version:** 3.40.2
**Shipped version:** 3.40.5
## Screenshots

View file

@ -19,6 +19,8 @@
upgrade=1
# 3.19.2
upgrade=1 from_commit=cf8c367214ef277f40a43489365199725540e021
# 3.38.2
upgrade=1 from_commit=6e4b84cabe351f9c62678089f236f1b3bb21d543
backup_restore=1
multi_instance=1
port_already_use=0
@ -29,3 +31,5 @@ Notification=none
;;; Upgrade options
; commit=cf8c367214ef277f40a43489365199725540e021
name=3.19.2
; commit=6e4b84cabe351f9c62678089f236f1b3bb21d543
name=3.38.2

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/TryGhost/Ghost/releases/download/3.40.2/Ghost-3.40.2.zip
SOURCE_SUM=adec82d930c9b50d5171afdf70423adb4aa2ed6e30338540b7cd38594bb6a6f2
SOURCE_URL=https://github.com/TryGhost/Ghost/releases/download/3.40.5/Ghost-3.40.5.zip
SOURCE_SUM=fef81257937b9125dac1618d4a8433a651aa6d32dcfc69da78a4610d7fcbc8ad
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Just a blogging platform",
"fr": "Plateforme de blogging"
},
"version": "3.40.2~ynh1",
"version": "3.40.5~ynh1",
"url": "https://ghost.org/",
"license": "MIT",
"maintainer": {

View file

@ -13,6 +13,4 @@
## Package_check results
---
*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results*
[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/ghost_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/ghost_ynh%20PR-NUM-%20(USERNAME)/)
* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"*

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="mailutils"
NODEJS_VERSION=12
NODEJS_VERSION=14
#=================================================
# PERSONAL HELPERS

View file

@ -102,11 +102,6 @@ ynh_script_progression --message="Configuring NGINX web server..."
# Create a dedicated nginx config
ynh_add_nginx_config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
fi
ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# CREATE DEDICATED USER
@ -180,14 +175,9 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l
#=================================================
ynh_script_progression --message="Configuring SSOwat..."
if [ $is_public -eq 0 ]
then # Remove the public access
ynh_app_setting_delete $app skipped_uris
fi
# Make app public if necessary
if [ $is_public -eq 1 ]
then
ynh_app_setting_set --app=$app --key=skipped_uris --value="/"
ynh_permission_update --permission="main" --add="visitors"
fi
#=================================================

View file

@ -117,11 +117,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..."
# Create a dedicated nginx config
ynh_add_nginx_config
if [ "$path_url" != "/" ]
then
ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
fi
ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# UPGRADE DEPENDENCIES