1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let release = "2.0.0"
let release_commit = "934e28a6f371031fecea9fd24b9f65b71226ab26"
let goblint =
let commit = ConfigVersion.version in
if BatString.starts_with release "%" then
commit
else (
let commit =
if commit = "n/a" then
release_commit
else
commit
in
Format.sprintf "%s (%s)" release commit
)