ksud: Remove sufix of 'v' in version tag

close #331
This commit is contained in:
tiann
2023-04-04 14:44:51 +08:00
parent 5be8fe39d0
commit effcaf0cde
2 changed files with 2 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
"Failed to read git describe stdout",
)
})?;
let version_name = version_name.trim_start_matches('v').to_string();
Ok((version_code, version_name))
}