debugprobe icon indicating copy to clipboard operation
debugprobe copied to clipboard

Add version number to picotool output

Open jtraister opened this issue 1 year ago • 3 comments

Please add a bi_program_version_string() call with the version number. Right now I have to rely on build date to determine the difference between binaries, but that's not great.

jtraister avatar Mar 27 '24 18:03 jtraister

I guess this sort of relates to #113 ?

lurch avatar Mar 27 '24 22:03 lurch

I think so, just more info available about the binary.

jtraister avatar Mar 27 '24 22:03 jtraister

I'm not sure where to get the version string, but I wrote this adding the git tag as version. If HEAD is tagged, then the tag is used for version; otherwise, git commit hash is used. Is this reasonable?

What else is needed? I can add all these to binary information and make a pull request then.

fduxiao avatar Mar 28 '24 03:03 fduxiao