From 47dd3d32f0dd9927b1b80e08f7e9968890177255 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 8 May 2024 21:15:20 +0200 Subject: [PATCH] Testing (#111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upgrade to v5.1.2 (#102) * Upgrade to v5.1.2 * Auto-update README * Update install * Update manifest.toml * Auto-update README * trying to fix upgrade (#105) * trying to fix upgrade * forgotten =1 * Update tests.toml --------- Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * cleaning (#104) * cleaning * Update upgrade * break lines * SC2154 fixes * Auto-update README * fix paths * typo --------- Co-authored-by: OniriCorpe Co-authored-by: yunohost-bot * remove maintenance * Auto-update READMEs * Upgrade to v5.2.1 (#108) * Upgrade to v5.2.1 * Auto-update READMEs --------- Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> * remove the empty string inside 'maintainers' * Upgrade to v5.3.0 (#110) * Upgrade to v5.3.0 * Auto-update READMEs * Auto-update READMEs * Update upgrade --------- Co-authored-by: YunoHost Bot Co-authored-by: yunohost-bot Co-authored-by: OniriCorpe Co-authored-by: OniriCorpe --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 4 ++-- manifest.toml | 8 ++++---- scripts/upgrade | 16 +++------------- 7 files changed, 13 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 46eceb6..91a5b57 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. -**Shipped version:** 5.2.1~ynh1 +**Shipped version:** 5.3.0~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index e754973..f22f253 100644 --- a/README_eu.md +++ b/README_eu.md @@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. -**Paketatutako bertsioa:** 5.2.1~ynh1 +**Paketatutako bertsioa:** 5.3.0~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index e6c95da..8c1292c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ Téléchargez, gérez et partagez des photos comme à partir d'une application n Lychee est livré avec tout ce dont vous avez besoin et toutes vos photos sont stockées en toute sécurité. -**Version incluse :** 5.2.1~ynh1 +**Version incluse :** 5.3.0~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index ad7635e..694e657 100644 --- a/README_gl.md +++ b/README_gl.md @@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. -**Versión proporcionada:** 5.2.1~ynh1 +**Versión proporcionada:** 5.3.0~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 09c5a5d..5a2717d 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Lychee +# YunoHost 上的 Lychee [![集成程度](https://dash.yunohost.org/integration/lychee.svg)](https://dash.yunohost.org/appci/app/lychee) ![工作状态](https://ci-apps.yunohost.org/ci/badges/lychee.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/lychee.maintain.svg) @@ -21,7 +21,7 @@ Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely. -**分发版本:** 5.2.1~ynh1 +**分发版本:** 5.3.0~ynh1 **演示:** diff --git a/manifest.toml b/manifest.toml index f4ac480..1f82594 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Lychee" description.en = "Photo-management-system to manage and share photos" description.fr = "Système de gestion de photos pour gérer et partager des photos" -version = "5.2.1~ynh1" +version = "5.3.0~ynh1" -maintainers = [""] +maintainers = [] [upstream] license = "MIT" @@ -46,8 +46,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.2.1.tar.gz" - sha256 = "1f2773aef9bcdf38662a8cd0baa9027601ae5c7f31f78426e8dcc1e042950b6e" + url = "https://github.com/LycheeOrg/Lychee/archive/refs/tags/v5.3.0.tar.gz" + sha256 = "eb0e519d29f3ed895d6e7f447fb3d2a2acd4b0ab81c67f3271d6ea610d1c590b" autoupdate.strategy = "latest_github_tag" [resources.system_user] diff --git a/scripts/upgrade b/scripts/upgrade index 3a59c6d..fce27dd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,23 +11,13 @@ source /usr/share/yunohost/helpers timezone="$(cat /etc/timezone)" -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=4 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=4 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env" -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env" chmod 750 "$install_dir/bootstrap/cache" chmod -R o-rwx "$install_dir"