This commit is contained in:
pulsar89.5 2023-06-18 12:38:30 +02:00
parent 74f9b1b429
commit fb3aa3decd

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')
}}