1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radarr_ynh.git synced 2024-09-03 20:16:13 +02:00

Merge pull request #12 from YunoHost-Apps/testing

Fix updater and sources for ARM
This commit is contained in:
tituspijean 2022-03-13 19:15:48 +01:00 committed by GitHub
commit 6d9971ecb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 16 deletions

View file

@ -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"
;;

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
A movie collection manager for Usenet and BitTorrent users.
**Shipped version:** 4.0.5.5981~ynh1
**Shipped version:** 4.0.5.5981~ynh2

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent.
**Version incluse :** 4.0.5.5981~ynh1
**Version incluse :** 4.0.5.5981~ynh2

View file

@ -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

View file

@ -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

View file

@ -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",