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

Remove version number from release artifact names #343

Open
flaki opened this issue Aug 9, 2022 · 0 comments
Open

Remove version number from release artifact names #343

flaki opened this issue Aug 9, 2022 · 0 comments

Comments

@flaki
Copy link
Contributor

flaki commented Aug 9, 2022

I got tired of manually updating subo on Linux and wanted to write a script that pulls & installs the latest release.

Conveniently, GitHub provides a "latest" virtual folder for asset downloads so

wget https://github.com/suborbital/subo/releases/latest/download/subo-v0.5.4-linux-amd64.tar.gz

...will work. Until we publish a new release, as v0.5.5 won't have a file subo-v0.5.4-linux-amd64.tar.gz in it.

Could we remove the version number from the published release artifact names and just use the target?

Note: there is a two-step way to do this using the GitHub API but that would be considerably more complex to accomplish, and by-version artifact references would remain possible through the release path

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

1 participant