gruntwork-io / fetch

Download files, folders, and release assets from a specific git commit, branch, or tag of public and private GitHub repos.
https://www.gruntwork.io/
MIT License
589 stars 90 forks source link

Can't download every release assets and/or by wildcard #29

Closed saaguero closed 5 years ago

saaguero commented 6 years ago

Unless I'm missing something, there is no ability to download every assets for a particular release tag, ie: everything inside https://github.com/gruntwork-io/fetch/releases/tag/v0.1.1

This could happen when the --release-asset is not specified or it is with the star "*" symbol.

Also, it would be nice to be able to specify wildcard/s as part of the --release-asset, and download those assets matching the expression.

brikis98 commented 6 years ago

Well, you can specify --release-asset multiple times to download multiple assets, but there's no support for a wildcard to find all assets automatically. It seems like it could be generally useful, so I'd welcome a PR for it. BTW< what's your use case for that?

thapakazi commented 6 years ago

I am in so need of this right now :)

nriley commented 6 years ago

FWIW, my use case is projects that embed the version number in the asset names (example).

yorinasub17 commented 5 years ago

This is now supported using regex: https://github.com/gruntwork-io/fetch/releases/tag/v0.3.3