Skip to main content

run

Function run 

Source
pub fn run(
    branch: &str,
    status: &str,
    number: &str,
    force: bool,
    tag: Option<String>,
    custom_branch: Option<String>,
) -> Result<(), Error>
Expand description

Runs the upgrade process for Zoi.

ยงErrors

Returns an error if:

  • Zoi is in offline mode.
  • The GitLab API cannot be reached.
  • The download fails or the checksum is invalid.
  • The binary replacement fails.