From ffc3267f6cd0517a956e6ccd331d07a4a7d6e898 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 15 Jul 2022 14:28:13 +0530 Subject: [PATCH 1/4] fix --- .github/workflows/updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 61c5a7a..aab52a4 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -53,8 +53,8 @@ fi tempdir="$(mktemp -d)" # Download sources and calculate checksum -filename="https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" -curl --silent -4 -L $asset_url -o "$tempdir/$filename" +filename="v$version.tar.gz" +curl --silent -4 -L "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" -o "$tempdir/$filename" checksum=$(sha256sum "$tempdir/$filename" | head -c 64) # Delete temporary directory From a51338401c37c96a82c646b8e09e4872fdbc8911 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 15 Jul 2022 14:34:30 +0530 Subject: [PATCH 2/4] fix --- .github/workflows/updater.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index aab52a4..defaf47 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -49,6 +49,8 @@ fi # UPDATE SOURCE FILES #================================================= +src="app" + # Create the temporary directory tempdir="$(mktemp -d)" @@ -78,12 +80,6 @@ SOURCE_FILENAME= EOT echo "... conf/$src.src updated" -else -echo "... asset ignored" -fi - -done - #================================================= # SPECIFIC UPDATE STEPS #================================================= From 2373ef0d40c9c68e4548a24a6ac5dc27d28c47d3 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 15 Jul 2022 14:39:57 +0530 Subject: [PATCH 3/4] url fix --- .github/workflows/updater.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index defaf47..76813fd 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -56,7 +56,8 @@ tempdir="$(mktemp -d)" # Download sources and calculate checksum filename="v$version.tar.gz" -curl --silent -4 -L "https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" -o "$tempdir/$filename" +asset_url="https://github.com/advplyr/audiobookshelf/archive/refs/tags/v$version.tar.gz" +curl --silent -4 -L $asset_url -o "$tempdir/$filename" checksum=$(sha256sum "$tempdir/$filename" | head -c 64) # Delete temporary directory From 401d288f7694a36fb237f4e6dc39e784b4606314 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 4 Oct 2022 00:19:14 +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 e2961b9..4c547b2 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Audiobookshelf is a self-hosted audiobook server for managing and playing your a * Chromecast support on the web app * Fetch metadata and cover art from several sources -**Shipped version:** 2.2.0~ynh1 *(:warning: This is the `testing` branch. The [`master` branch](https://github.com/YunoHost-Apps/audiobookshelf_ynh/tree/master) used in the catalog is currently on version 2.1.5\~ynh1.)* +**Shipped version:** 2.2.0~ynh1 **Demo:** https://audiobookshelf.org/ diff --git a/README_fr.md b/README_fr.md index 860e041..083d813 100644 --- a/README_fr.md +++ b/README_fr.md @@ -30,7 +30,7 @@ Audiobookshelf est un serveur auto-hébergé pour gérer et lire vos livres audi * Support de Chromecast dans la webapp * Récupération des métadonnées et des pochettes depuis plusieurs sources -**Version incluse :** 2.2.0~ynh1 *(:warning: Il s'agit de la branche `testing`. La [branche `master`](https://github.com/YunoHost-Apps/audiobookshelf_ynh/tree/master) utilisée dans le catalogue est actuellement en 2.1.5\~ynh1.)* +**Version incluse :** 2.2.0~ynh1 **Démo :** https://audiobookshelf.org/