From c26204e77bc1573de5cccd2de4e82a13c77d144c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 15 Sep 2021 17:23:01 +0200 Subject: [PATCH 1/4] Update updater.sh --- .github/workflows/updater.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 1fdd34d..93c2db1 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -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" From 2ee835a89b29be1cbf9245cc376c5367df20335e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 15 Sep 2021 17:27:17 +0200 Subject: [PATCH 2/4] Update updater.sh --- .github/workflows/updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 93c2db1..9b823ba 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -23,7 +23,7 @@ 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 +if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then version=${version:1} fi From b26e94eb8f893217d52ca06f7ade2751cbcba80a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 15 Sep 2021 17:31:05 +0200 Subject: [PATCH 3/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 1970d54..e188076 100644 --- a/manifest.json +++ b/manifest.json @@ -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", From 61a338348e65e3e178412a0914f7f77a4cc4bca8 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Wed, 15 Sep 2021 15:31:11 +0000 Subject: [PATCH 4/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4667501..19773b9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_fr.md b/README_fr.md index b7bfed6..2147dc5 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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