diff --git a/README.md b/README.md index 7edc871..7c31f0b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library. -**Shipped version:** 1.5.5~ynh1 +**Shipped version:** 1.5.6~ynh1 **Demo:** https://libretranslate.com/ @@ -29,11 +29,11 @@ Free and Open Source Machine Translation API, entirely self-hosted. Unlike other ## Documentation and resources -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index 5e1888e..a7d8945 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,5 +1,5 @@ @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library. -**Version incluse :** 1.5.5~ynh1 +**Version incluse :** 1.5.6~ynh1 **Démo :** https://libretranslate.com/ @@ -29,11 +29,11 @@ Free and Open Source Machine Translation API, entirely self-hosted. Unlike other ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs @@ -47,4 +47,4 @@ ou sudo yunohost app upgrade libretranslate -u https://github.com/YunoHost-Apps/libretranslate_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/manifest.toml b/manifest.toml index 4dc3095..e908d38 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "LibreTranslate" description.en = "Open Source Machine Translation API" description.fr = "API de traduction automatique Open Source" -version = "1.5.5~ynh1" +version = "1.5.6~ynh1" maintainers = ["Thovi98"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 9b53e41..944a65e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,8 +4,6 @@ # COMMON VARIABLES #================================================= -libretranslate_version="1.5.5" - #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 5daf6f5..753481e 100755 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,7 @@ ynh_script_progression --message="Installing LibreTranslate..." --weight=2 pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate - ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml + ynh_exec_warn_less pip install libretranslate=="$(ynh_app_upstream_version)" toml popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 058706b..ecee1a1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,7 +43,7 @@ ynh_secure_remove $install_dir/.venv pushd $install_dir python3 -m venv $install_dir/venv source $install_dir/venv/bin/activate - ynh_exec_warn_less pip install libretranslate==$libretranslate_version toml + ynh_exec_warn_less pip install libretranslate=="$(ynh_app_upstream_version)" toml popd #=================================================