Skip to main content

latest_tag

Function latest_tag 

Source
pub async fn latest_tag(http: &Client, base_url: &str) -> Result<String>
Expand description

The tag of the newest published release, e.g. v0.19.4.

Split out of run so the passive update check can ask the same question with its own client — it needs a short timeout, since it runs ahead of a command the user actually asked for, while run needs a long one because it goes on to download a binary.