diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 4b1818b..4119e88 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -6,8 +6,6 @@ # This script is meant to be run by GitHub Actions # The YunoHost-Apps organisation offers a template Action to run this script periodically -# Since each app is different, maintainers can adapt its contents so as to perform -# automatic actions when a new upstream release is detected. #================================================= # FETCHING LATEST RELEASE AND ITS ASSETS @@ -22,7 +20,7 @@ assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ # Later down the script, we assume the version has only digits and dots # Sometimes the release name starts with a "v", so let's filter it out. -# You may need more tweaks here if the upstream repository has different naming conventions. +# You may need more tweaks here if the upstream repository has different naming conventions. if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then version=${version:1} fi @@ -52,7 +50,6 @@ echo "${#assets[@]} available asset(s)" #================================================= # Here we use the $assets variable to get the resources published in the upstream release. -# Here is an example for Grav, it has to be adapted in accordance with how the upstream releases look like. # Let's loop over the array of assets URLs for asset_url in ${assets[@]}; do @@ -63,12 +60,12 @@ echo "Handling asset at $asset_url" # Here we base the source file name upon a unique keyword in the assets url (admin vs. update) # Leave $src empty to ignore the asset case $asset_url in - *"linux-core-arm"*) - src="app.arm" - ;; *"linux-core-arm64"*) src="app.arm64" ;; + *"linux-core-arm"*) + src="app.arm" + ;; *"linux-core-x64"*) src="app.x64" ;; diff --git a/conf/app.arm.src b/conf/app.arm.src index 3a99212..11eff3b 100644 --- a/conf/app.arm.src +++ b/conf/app.arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm64.tar.gz -SOURCE_SUM=20e14a96a7b2f5b88bf300a96c8c4c9d96794afbeb87a28c90da19ec6061b773 +SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm.tar.gz +SOURCE_SUM=e6d0c17db60830791174d518c8314b323812d0e708425deb6603607323d9a049 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/app.arm64.src b/conf/app.arm64.src index 169c8aa..3a99212 100644 --- a/conf/app.arm64.src +++ b/conf/app.arm64.src @@ -1,7 +1,5 @@ -SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v3.2.2.5080/Radarr.master.3.2.2.5080.linux-core-arm64.tar.gz -SOURCE_SUM=f4ebb4f0f2371cd40ee836bbe99324cf1d50954fa86aaf53afebea3d3d39c67c +SOURCE_URL=https://github.com/Radarr/Radarr/releases/download/v4.0.5.5981/Radarr.master.4.0.5.5981.linux-core-arm64.tar.gz +SOURCE_SUM=20e14a96a7b2f5b88bf300a96c8c4c9d96794afbeb87a28c90da19ec6061b773 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_EXTRACT=true -SOURCE_FILENAME=sonarr.tar.gz diff --git a/manifest.json b/manifest.json index 1a6e7f6..075289d 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A movie collection manager for Usenet and BitTorrent users.", "fr": "Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent." }, - "version": "4.0.5.5981~ynh1", + "version": "4.0.5.5981~ynh2", "url": "https://radarr.video", "upstream": { "license": "GPL-3.0-only",