ksud: Update version code calculations to adjust historical version offsets
This commit is contained in:
@@ -15,7 +15,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
|
|||||||
.trim()
|
.trim()
|
||||||
.parse()
|
.parse()
|
||||||
.map_err(|_| std::io::Error::new(std::io::ErrorKind::Other, "Failed to parse git count"))?;
|
.map_err(|_| std::io::Error::new(std::io::ErrorKind::Other, "Failed to parse git count"))?;
|
||||||
let version_code = 10000 + 606 + version_code; // For historical reasons
|
let version_code = 10000 + 700 + version_code; // For historical reasons
|
||||||
|
|
||||||
let version_name = String::from_utf8(
|
let version_name = String::from_utf8(
|
||||||
Command::new("git")
|
Command::new("git")
|
||||||
|
|||||||
Reference in New Issue
Block a user