bootstrap::utils::helpers

Function extract_beta_rev

Source
pub fn extract_beta_rev(version: &str) -> Option<String>
Expand description

Extract the beta revision from the full version string.

The full version string looks like “a.b.c-beta.y”. And we need to extract the “y” part from the string.