v version: show only vhash, when vhash and current_hash are the same
parent
35fab2bb7b
commit
44a271d9e9
|
@ -21,6 +21,9 @@ pub fn vhash() string {
|
|||
pub fn full_hash() string {
|
||||
build_hash := vhash()
|
||||
current_hash := githash(false)
|
||||
if build_hash == current_hash {
|
||||
return build_hash
|
||||
}
|
||||
return '${build_hash}.${current_hash}'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue