zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
866 stars 39 forks source link

Working with monorepos #67

Closed IgnisDa closed 1 year ago

IgnisDa commented 1 year ago

Hello, wonderful project!

I have this single repository where I publish a bunch of binaries. I was wondering if it was possible to use eget with it. I do not think it, because eget only looks at the latest release.

Would it be possible to add an option to it to specify which binary to download? Something like eget IgnisDa/rust-libs --someOption avatars_cli. Then eget will look only for the latest releases matching avatars_cli.

You can see the release formats here.

zyedidia commented 1 year ago

I think you can use the tag flag for this. If it does not match an exact tag then eget will look for the latest release with a tag that contains the given string.

IgnisDa commented 1 year ago

Alright that worked. Would be very helpful if the README has some info about using the --tag option for monorepos.