Skip to content

Commit

Permalink
fix: prefix version string with v
Browse files Browse the repository at this point in the history
  • Loading branch information
j1nxie committed Jan 21, 2025
1 parent f7d15a0 commit 48a542f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ pub fn get_version() -> String {

if let Ok(semver) = semver {
format!(
"{} - {} [[`{2}`](https://github.com/j1nxie/mikisayaka/commit/{2})]",
"v{} - {} [[`{2}`](https://github.com/j1nxie/mikisayaka/commit/{2})]",
semver,
MADOKA_MAGICA[(3) as usize],
MADOKA_MAGICA[3],
env!("VERGEN_GIT_SHA"),
)
} else {
tracing::warn!("couldn't parse a semver out of Cargo.toml? defaulting to 0.0.0-unknown.");
String::from("0.0.0-unknown - No Version Name")
String::from("v0.0.0-unknown - No Version Name")
}
}

0 comments on commit 48a542f

Please sign in to comment.