diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2020-11-03 02:40:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 12:40:33 -0500 |
commit | 0e5c8c03ac9290e752d15c23e107bfbd97d03c72 (patch) | |
tree | 0c039f911ed7166f50d1ae1943c24fffe40f0ba2 /cli/version.rs | |
parent | e3b096f6f69b4f4d8a4a57fc5da68c53c1cdc7ea (diff) |
add commit hash and target to long_version output (#8133)
Diffstat (limited to 'cli/version.rs')
-rw-r--r-- | cli/version.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/version.rs b/cli/version.rs index 6967d7435..0f2a69a5c 100644 --- a/cli/version.rs +++ b/cli/version.rs @@ -1,6 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. pub const DENO: &str = env!("CARGO_PKG_VERSION"); +pub const GIT_COMMIT_HASH: &str = env!("GIT_COMMIT_HASH"); pub const TYPESCRIPT: &str = crate::js::TS_VERSION; pub fn v8() -> &'static str { |