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/version.rs | |
parent | 867ce78fb662f8ed5cf9f4fbfa5bbb93a8fae6b0 (diff) |
fix: full commit hash in canary compile download (#9166)
Diffstat (limited to 'cli/version.rs')
-rw-r--r-- | cli/version.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/version.rs b/cli/version.rs index ae2b961f2..6fe7da070 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -6,7 +6,7 @@ pub const TYPESCRIPT: &str = env!("TS_VERSION"); pub fn deno() -> String { let semver = env!("CARGO_PKG_VERSION"); option_env!("DENO_CANARY").map_or(semver.to_string(), |_| { - format!("{}+{}", semver, GIT_COMMIT_HASH) + format!("{}+{}", semver, &GIT_COMMIT_HASH[..7]) }) } |