fetch icon indicating copy to clipboard operation
fetch copied to clipboard

How to add all release files that end with file extension

Open chancesmith opened this issue 3 years ago • 2 comments

Can you use the release-asset regex to get many files that match a file extension?

fetch --repo="https://github.com/foo/bar" --tag="0.1.5" --release-asset="*.tar.gz" /tmp

similar to #58, but for any other files that match

Screen Shot 2021-01-19 at 3 20 13 PM

chancesmith avatar Jan 19 '21 21:01 chancesmith

I don't think this is currently supported, but would be handy to add. PR welcome!

brikis98 avatar Jan 21 '21 09:01 brikis98

I was just able to do the described job (fetch version - 0.4.1):

./fetch_linux_amd64 --tag v1.0.0 --repo https://github.com/noxdafox/rabbitmq-cloudwatch-exporter --release-asset=".*.ez" /tmp/

vkarhaltsev avatar Feb 18 '21 15:02 vkarhaltsev