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

Merge pull request #25 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-09-15 17:31:22 +02:00 committed by GitHub
commit 093aaa7e56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View file

@ -23,6 +23,10 @@ repo=$(cat manifest.json | jq -j '.upstream.code|split("https://github.com/")[1]
version=$(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '.[] | .tag_name' | sort -V | tail -1)
assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ .[] | select(.tag_name=="'$version'").assets[].browser_download_url ] | join(" ") | @sh' | tr -d "'"))
if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then
version=${version:1}
fi
# Setting up the environment variables
echo "Current version: $current_version"
echo "Latest release from upstream: $version"

View file

@ -29,7 +29,7 @@ Komga is a free and open source comics/mangas server.
- Download book files
**Shipped version:** 0.126.0~ynh3
**Shipped version:** 0.126.0~ynh4
**Demo:** https://demo.komga.org

View file

@ -25,7 +25,7 @@ Komga is a free and open source comics/mangas server.
- Download book files
**Version incluse :** 0.126.0~ynh3
**Version incluse :** 0.126.0~ynh4
**Démo :** https://demo.komga.org

View file

@ -6,7 +6,7 @@
"en": "Media server for your comics, manga and magazines",
"fr": "Serveur multimédia pour vos bandes dessinées, mangas et magazines"
},
"version": "0.126.0~ynh3",
"version": "0.126.0~ynh4",
"url": "https://komga.org",
"upstream": {
"license": "MIT",