-
Notifications
You must be signed in to change notification settings - Fork 24
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
update subcomand should check if latest version is installed, if not, installs it. #14
Comments
We should avoid having the latest version hardcoded at all. Related with esp-rs/rust-build#125 |
We use update-informer in |
Thanks for sharing it! It looks really useful, although it won't solve this issue as what we need to check is rust-build/releases. Maybe we could use what you suggested in rust-build#125 but We could also use https://github.com/esp-rs/rust-build/releases/latest but, we still need the version as its in the name of the artifacts. E.g |
Maybe a bit of an odd approach, but if there are releases on GitHub available those same versions should be available on |
Actually scratch that, you can specify the repo if using GitHub: use update_informer::{registry, Check};
let informer = update_informer::new(registry::GitHub, "owner/repo", "0.1.0");
informer.check_version(); Anyways, just an option, plenty of alternatives. |
Motivations
At the moment,
espup update
, does not check if the latest version is updated. It will just uninstall the current toolchain and install the default (hardcoded) version.The text was updated successfully, but these errors were encountered: