We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fe26c commit 9834bb0Copy full SHA for 9834bb0
1 file changed
vlib/v/util/version/version.v
@@ -6,7 +6,8 @@ pub const v_version = '0.4.10'
6
7
pub fn full_hash() string {
8
build_hash := vhash()
9
- if vcurrent_hash() == '' || build_hash == vcurrent_hash() {
+
10
+ if vcurrent_hash() == '' || build_hash[..7] == vcurrent_hash() {
11
return build_hash
12
}
13
return '${build_hash}.${vcurrent_hash()}'
0 commit comments