From 2669d140f8b3757c42442100bd73f1d0c3eac612 Mon Sep 17 00:00:00 2001 From: Dmitry Rodionov Date: Wed, 1 Dec 2021 15:27:44 +0300 Subject: [PATCH] use full commit sha for version info for builds in docker this is not needed, since environment variable with commit sha already contains full version --- zenith_utils/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zenith_utils/src/lib.rs b/zenith_utils/src/lib.rs index 8730656eab..eb9948ed64 100644 --- a/zenith_utils/src/lib.rs +++ b/zenith_utils/src/lib.rs @@ -72,5 +72,6 @@ pub mod nonblock; use git_version::git_version; pub const GIT_VERSION: &str = git_version!( prefix = "git:", - fallback = concat!("git-env:", env!("GIT_VERSION")) + fallback = concat!("git-env:", env!("GIT_VERSION")), + args = ["--abbrev=40", "--always", "--dirty=-modified"] // always use full sha );