mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 06:50:36 +08:00
Add support for alpha/beta/rc on the vendor version (#16112)
* Add support for versioning the vendor version * Make regex only allow either alpha/beta/rc, or vendor versions
This commit is contained in:
@@ -159,6 +159,9 @@ bool VersioningTest::run_tests()
|
||||
ut_assert_true(_test_tag_to_version_number("v1.8.2dev4-dirty", 0x01080200, 0x00000000));
|
||||
ut_assert_true(_test_tag_to_version_number("v1.8.2dev4-67-g1d5e979-dirty", 0x01080200, 0x00000000));
|
||||
|
||||
//TODO: fix me, this is unexpected behavior
|
||||
ut_assert_true(_test_tag_to_version_number("v1.6.2-rc2-1.2.3-rc3", 0x01060200, 0x00000000));
|
||||
|
||||
return (_tests_failed == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user