@@ -6,6 +6,7 @@ fn main() {
6 .args(&["rev-parse", "HEAD"])
6 .args(&["rev-parse", "HEAD"])
9+ .filter(|output| output.status.success())
9 .and_then(|x| String::from_utf8(x.stdout).ok());
10 .and_then(|x| String::from_utf8(x.stdout).ok());
11 let version: Cow<_> = match git_hash {
12 let version: Cow<_> = match git_hash {