Skip to content

Print version string from ScanConsole

Matthias Wittgen requested to merge print_version into devel
  • clean up retrieval of git information (removes the external shell script and uses plain cmake)
  • version information as json string is printed with scanConsole --version or scanConsole -v
  • add version() function to pyYARR module to obtain

Output:

bin/scanConsole --version
or
python python/scan_cli.py  --version
or
import pyYARR
pyYARR.version()
{
    "build_time": "2024-09-07 16:41:17 UTC",
    "git_branch": "print_version",
    "git_date": "2024-09-07 08:22:19 -0700",
    "git_hash": "7dfcf20e958d3f17e5660eee295c0ff4490620dc",
    "git_subject": "Add printing of YARR version",
    "git_tag": "v1.5.2-1-g7dfcf20e"
}
Edited by Matthias Wittgen

Merge request reports