-
Notifications
You must be signed in to change notification settings - Fork 353
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
Provide a plain text file with the latest version of Camel K for easier automation of downloading via the tooling #1009
Comments
You can eventually use github api like:
Which gives you a json with information about the assets included in latest release. |
That spits out a ton of detail in that json file, but we could certainly go that route. I was just looking for something simple. :) |
I usually do something like that do download releases:
|
I don't know that I can rely on curl for Windows machines, which is a problem. |
I meant that you can probably use a json path like the one I shown from your extension |
That works. :)
|
Thanks Luca! Considering this one resolved. :) |
We have been working on setting up the VS Code extension to automatically download the Camel K CLI. For example, the Kubernetes extension provides this file: https://storage.googleapis.com/kubernetes-release/release/stable.txt. It simply provides the version number as a string (v1.16.1) that is then used in a generated URL - https://storage.googleapis.com/kubernetes-release/release/${version.result.trim()}/bin/${osString}/amd64/${binFile}
It would be great if we could do the same thing for the Camel K CLI - https://github.com/apache/camel-k/releases/download/${version}/camel-k-client-${version}-${platformString}-64bit.tar.gz
Maybe a simple text file in the github repo with "1.0.0-M2" in it?
The text was updated successfully, but these errors were encountered: