mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Merge pull request #220 from YunoHost-Apps/ci-auto-update-1.8.2
Upgrade to v1.8.2
This commit is contained in:
commit
bf69239b9c
5 changed files with 15 additions and 5 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Flarum is a simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a successful community.
|
Flarum is a simple discussion platform for your website. It's fast and easy to use, with all the features you need to run a successful community.
|
||||||
|
|
||||||
**Shipped version:** 1.8.1~ynh1
|
**Shipped version:** 1.8.2~ynh1
|
||||||
|
|
||||||
**Demo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
**Demo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Flarum est une plate-forme de discussion simple pour votre site Web. C'est rapide et facile à utiliser, avec toutes les fonctionnalités dont vous avez besoin pour gérer une communauté.
|
Flarum est une plate-forme de discussion simple pour votre site Web. C'est rapide et facile à utiliser, avec toutes les fonctionnalités dont vous avez besoin pour gérer une communauté.
|
||||||
|
|
||||||
**Version incluse :** 1.8.1~ynh1
|
**Version incluse :** 1.8.2~ynh1
|
||||||
|
|
||||||
**Démo :** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
**Démo :** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ description.en = "Next-generation forum made simple"
|
||||||
description.fr = "Forum de nouvelle génération, simplement"
|
description.fr = "Forum de nouvelle génération, simplement"
|
||||||
description.de = "Forum der nächsten Generation leicht gemacht"
|
description.de = "Forum der nächsten Generation leicht gemacht"
|
||||||
|
|
||||||
version = "1.8.1~ynh1"
|
version = "1.8.2~ynh1"
|
||||||
|
|
||||||
maintainers = ["tituspijean"]
|
maintainers = ["tituspijean"]
|
||||||
|
|
||||||
|
@ -70,9 +70,19 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
|
# The main source is only used to auto-update the package
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
|
prefetch = false
|
||||||
|
url = "https://github.com/flarum/framework/archive/refs/tags/v1.8.2.tar.gz"
|
||||||
|
sha256 = "b1db07a9f0bdbd1b04b22e3c460de7e830f41d0c6f92264338309dbb7e148b1d"
|
||||||
|
autoupdate.upstream = "https://github.com/flarum/framework"
|
||||||
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
|
# The flarum source is the one actually being installed
|
||||||
|
[resources.sources.flarum]
|
||||||
url = "https://github.com/flarum/flarum/archive/v1.8.0.zip"
|
url = "https://github.com/flarum/flarum/archive/v1.8.0.zip"
|
||||||
sha256 = "c6179876c27689522eb3e46d369ca053517602f528dcd36ba8a338ec768845cd"
|
sha256 = "c6179876c27689522eb3e46d369ca053517602f528dcd36ba8a338ec768845cd"
|
||||||
|
autoupdate.upstream = "https://github.com/flarum/flarum"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
|
@ -36,7 +36,7 @@ ynh_app_setting_set --app=$app --key=ldap_version --value="$ldap_version"
|
||||||
ynh_script_progression --message="Setting up source files..." --weight=3
|
ynh_script_progression --message="Setting up source files..." --weight=3
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="flarum"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
|
@ -61,7 +61,7 @@ then
|
||||||
ynh_secure_remove --file="$install_dir"
|
ynh_secure_remove --file="$install_dir"
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="flarum"
|
||||||
|
|
||||||
# Copy config.php back into Flarum
|
# Copy config.php back into Flarum
|
||||||
cp -f $tmpdir/config.php $install_dir
|
cp -f $tmpdir/config.php $install_dir
|
||||||
|
|
Loading…
Reference in a new issue