[FIX] Ignorer la casse pour l'OS et l'architecture (#2)
Co-authored-by: pulsar89.5 <pulsar@ykn.fr> Reviewed-on: #2
This commit is contained in:
parent
74f9b1b429
commit
97f49b1e47
@ -27,9 +27,10 @@
|
|||||||
browser_download_url: >
|
browser_download_url: >
|
||||||
{{
|
{{
|
||||||
releases.json.assets |
|
releases.json.assets |
|
||||||
selectattr('browser_download_url', 'search', '.tar.gz') |
|
rejectattr('browser_download_url', 'search', 'extended', 'ignorecase=true') |
|
||||||
selectattr('browser_download_url', 'search', hugo_os) |
|
selectattr('browser_download_url', 'search', '.tar.gz', 'ignorecase=true') |
|
||||||
selectattr('browser_download_url', 'search', hugo_architecture) |
|
selectattr('browser_download_url', 'search', hugo_os, 'ignorecase=true') |
|
||||||
|
selectattr('browser_download_url', 'search', hugo_architecture, 'ignorecase=true') |
|
||||||
map(attribute='browser_download_url')
|
map(attribute='browser_download_url')
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user