Use a more appropriate minor version number

This commit is contained in:
ShirkNeko
2025-11-05 16:41:30 +08:00
parent 994fdfddf2
commit 89ce65e8ba
4 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
.trim()
.parse()
.map_err(|_| std::io::Error::other("Failed to parse git count"))?;
let version_code = 20000 + 700 + version_code; // For historical reasons
let version_code = 40000 - 2815 + version_code; // For historical reasons
let version_name = String::from_utf8(
Command::new("git")