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

View File

@ -27,9 +27,12 @@
browser_download_url: >
{{
releases.json.assets |
rejectattr('browser_download_url', 'search', 'extended') |
selectattr('browser_download_url', 'search', '.tar.gz') |
selectattr('browser_download_url', 'search', hugo_os) |
selectattr('browser_download_url', 'search', hugo_architecture) |
selectattr('browser_download_url', 'match', '(?i)' + hugo_os) |
selectattr('browser_download_url', 'match', '(?i)' + hugo_architecture) |
# selectattr('browser_download_url', 'search', hugo_os) |
# selectattr('browser_download_url', 'search', hugo_architecture) |
map(attribute='browser_download_url')
}}