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

[Suggestion] Remove version in release asset file name #668

Closed
liuyigh opened this issue May 18, 2020 · 3 comments
Closed

[Suggestion] Remove version in release asset file name #668

liuyigh opened this issue May 18, 2020 · 3 comments

Comments

@liuyigh
Copy link

liuyigh commented May 18, 2020

Dear exa developer,

To facilitate simple automated install script, please consider remove version such as 0.9.0 from release asset file name.

Right now, I can download latest exa with think link:
https://github.com/ogham/exa/releases/latest/download/exa-linux-x86_64-0.9.0.zip

I have to use a script to query GitHub api to get the latest version number to make this fully automatic. If you make the file name simply exa-linux-x86_64.zip, the download will be as simple as:

curl -OL https://github.com/ogham/exa/releases/latest/download/exa-linux-x86_64.zip

For instance, I can already download the latest lf terminal file manager though:

curl -OL https://github.com/gokcehan/lf/releases/latest/download/lf-linux-amd64.tar.gz

Thanks for your consideration.

@liuyigh
Copy link
Author

liuyigh commented Apr 8, 2021

A temporary solution:

EXA=$(curl -s 'https://api.github.com/repos/ogham/exa/releases/latest' | \
    python -c "import sys, json; print(json.load(sys.stdin)['tag_name'])")
wget https://github.com/ogham/exa/releases/download/$EXA/exa-linux-x86_64-$EXA.zip

@ogham
Copy link
Owner

ogham commented Apr 9, 2021

Hi,

I think more people expect the version number to be there than not, so I cannot change the asset file names.

However, I understand your use case. I made a shortcut, not on GitHub, but on exa's website:

https://the.exa.website/linux.zip

This will redirect to the GitHub download for the Linux x86_64 version. Hope this helps.

@ogham ogham closed this as completed Apr 9, 2021
@liuyigh
Copy link
Author

liuyigh commented Apr 10, 2021

Thanks a lot! That will do.

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