-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed version firmware type #8250
Conversation
Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor version.
Thanks! I've been meaning to look at this. |
The circleci failure is real (trivial style change), jenkins sitl01 is broken globally. |
@dagar Thanks for response! Passed the circleci check |
@dagar good to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@garfieldG, thanks for the improvement. Could you please add new test cases to the corresponding unit test?
Please have a look at test_versioning.cpp.
Local modification cases and a dash before firmware type in tags that support vendor version cases.
@darioxz Added new test cases as requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@garfieldG thanks, seems good! 👍
Looks good. I'm going to do some quick testing and get this in for v1.7.0. Thanks! |
Fixed the version tag to number and version tag to vendor version number to return dev version in case of any local modifications or in case there's a dash before firmware type in tags that support vendor version.