diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-01-19 13:53:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 13:53:23 +0100 |
commit | cf3202644d99f57af3c1da169435f0d1cd8eadd8 (patch) | |
tree | 24304809e25ee5f255116cab4e4ced3973d46897 /cli/build.rs | |
parent | 867ce78fb662f8ed5cf9f4fbfa5bbb93a8fae6b0 (diff) |
fix: full commit hash in canary compile download (#9166)
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/build.rs b/cli/build.rs index 4d6295024..b23035717 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -221,7 +221,7 @@ fn git_commit_hash() -> String { .output() { if output.status.success() { - std::str::from_utf8(&output.stdout[..7]) + std::str::from_utf8(&output.stdout[..40]) .unwrap() .to_string() } else { |