1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let release = "2.2.1"
let release_commit = "166a9b619b87456059de8f1839fb810621302efb"
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
)