Last active
September 28, 2022 12:32
-
-
Save akloboucnik/b38dd55482f64a4a92e8c64002dd1f70 to your computer and use it in GitHub Desktop.
Download all assets in github release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# needs curl, jq | |
# [0] in jq means last release | |
curl -s https://api.github.com/repos/noxdafox/rabbitmq-cloudwatch-exporter/releases | jq -r ".[0].assets | map(.browser_download_url) | @sh" | xargs | tr " " "\n" | while read url; do curl -#LO $url;echo "$url done"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment