Ah this one returns the git hash?
Not only git hash, but also some information about build
In my branch I get
{
"git": {
"branch": "feat/Adding-info-endpoint",
"commit": {
"id": "3d40304",
"time": "2024-05-28T18:13:15Z"
}
},
"build": {
"artifact": "api",
"name": "api",
"time": "2024-05-29T07:25:05.864Z",
"version": "1.0.0-SNAPSHOT",
"group": "org.cardanofoundation.rosetta-java"
}
}