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

eget downloads vscode extension rather than binary #76

Open
Dialga opened this issue May 27, 2023 · 1 comment
Open

eget downloads vscode extension rather than binary #76

Dialga opened this issue May 27, 2023 · 1 comment

Comments

@Dialga
Copy link

Dialga commented May 27, 2023

eget seems to prefer downloading the vscode extension rather than the release binary.

$ eget rome/tools
https://github.com/rome/tools/releases/download/lsp/v0.24.2/rome_lsp-linux-x64.vsix
Downloading 100% [=======================================================================================================================] (5.4/5.4 MB, 966.668 kB/s)
Extracted `rome_lsp-linux-x64.vsix` to `/home/me/bin/tools
$ tools
-bash: /home/me/bin/tools: cannot execute binary file: Exec format error

Where I was expecting rome-linux-x64 to be downloaded.

@dufferzafar
Copy link
Contributor

When a repository offers multiple binaries as part of their releases eget uses the one that was released latest which does happen to be the VS Code extension.

You'd need to specify the tag to get what you want: eget rome/tools -t cli

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