mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 09:30:37 +00:00
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
This commit is contained in:
committed by
Dmitry Rodionov
parent
f49ad33f1b
commit
2669d140f8
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user