diff options
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ fn version_from_git_info() -> Result<String, std::io::Error> { // Combined version if let Some(exact) = exact_tag { Ok(exact) - } else if &branch != "main" && &branch != "master" { + } else if &branch != "main" && &branch != "master" && &branch != "HEAD" { Ok(format!("{last_tag}-{rev_short} ({branch})")) } else { Ok(format!("{last_tag}-{rev_short}")) |