rosflight_firmware icon indicating copy to clipboard operation
rosflight_firmware copied to clipboard

Binary built from source reports wrong version

Open Georacer opened this issue 5 years ago • 1 comments

Hello everyone!

I have built rosflight from source, as per the instructions. Works quite well so far on the bench. I have compiled from ''master'' which I have verified. However, when ran, the AP would report that it is

[ INFO] [1580927169.107349452] [/rosflight_io]: Firmware version: v1.1.0-461-g51c8049f

I know that v1.2.0 exists since:

$ git tag
v0.1.0
v1.0.0
v1.0.0-beta.1
v1.0.1
v1.1.0
v1.2.0

However, the AP message checks out since the command which creates (https://github.com/rosflight/firmware/pull/156) it returns:

$ git describe --tags --always
v1.1.0-461-g51c8049

Do you know why git does this behaviour? Is it normal?

Thanks in advance!

Georacer avatar Feb 05 '20 19:02 Georacer

I've actually noticed similar behavior, we'll probably want to resolve this before the next release.

bsutherland333 avatar Oct 04 '23 20:10 bsutherland333