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

Updater comments cleanup

This commit is contained in:
tituspijean 2022-03-13 17:40:58 +01:00
parent 41007a55a1
commit 67123e1799
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

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