aboutsummaryrefslogtreecommitdiffstats
path: root/mumctl/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumctl/build.rs')
-rw-r--r--mumctl/build.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mumctl/build.rs b/mumctl/build.rs
index 78f279f..0a4f506 100644
--- a/mumctl/build.rs
+++ b/mumctl/build.rs
@@ -1,8 +1,7 @@
use std::process::Command;
fn main() {
- let maybe_hash = commit_hash();
- let version = match maybe_hash.as_deref() {
+ let version = match commit_hash().as_deref() {
None | Some("") => format!("v{}", env!("CARGO_PKG_VERSION")),
Some(version) => version.to_string(),
};