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