get_latest_release

Function get_latest_release 

Source
pub fn get_latest_release(repo: &str) -> Result<String>
Expand description

Retrieves the latest release tag name for the specified GitHub repository.

ยงErrors

  • Executing gh fails or returns a non-zero exit status.
  • UTF-8 conversion fails.
  • Invoking gh api fails.