Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter release artifacts #42

Open
onedr0p opened this issue Jan 23, 2024 · 2 comments
Open

Filter release artifacts #42

onedr0p opened this issue Jan 23, 2024 · 2 comments

Comments

@onedr0p
Copy link

onedr0p commented Jan 23, 2024

I have a use-case with siderolabs/[email protected] (release). I would like to only grab the talosctl artifact from these releases. Right now it only pulls talos which is not what I want.

Maybe there can be a filter arg like ?filter=talosctl&as=tctl that wraps a glob around the filter ?

@jpillora
Copy link
Owner

I think a select param might be useful (filter can imply more than 1 result)

However, https://i.jpillora.com/siderolabs/[email protected]?as=tctl it looks like its already matching talosctl

Note, installer uses the repo name as the binary name by default - I would like to use the file name, it's just not reliably set everywhere

@onedr0p
Copy link
Author

onedr0p commented Jan 23, 2024

Huh yeah you are right! I was seeing the resulting binary as talos and forgot to set ?as in my test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants