[FIX] Ignorer la casse pour l'OS et l'architecture #2

Merged
pulsar merged 1 commits from debug into master 2023-06-18 11:01:35 +00:00
Showing only changes of commit fd8c0effb7 - Show all commits

View File

@ -27,9 +27,10 @@
browser_download_url: >
{{
releases.json.assets |
selectattr('browser_download_url', 'search', '.tar.gz') |
selectattr('browser_download_url', 'search', hugo_os) |
selectattr('browser_download_url', 'search', hugo_architecture) |
rejectattr('browser_download_url', 'search', 'extended', 'ignorecase=true') |
selectattr('browser_download_url', 'search', '.tar.gz', 'ignorecase=true') |
selectattr('browser_download_url', 'search', hugo_os, 'ignorecase=true') |
selectattr('browser_download_url', 'search', hugo_architecture, 'ignorecase=true') |
map(attribute='browser_download_url')
}}