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:
parent
41007a55a1
commit
67123e1799
1 changed files with 1 additions and 4 deletions
5
.github/workflows/updater.sh
vendored
5
.github/workflows/updater.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue