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:
Julian Kent
2020-11-04 13:48:19 +01:00
committed by GitHub
parent 8f72ea9577
commit d7fa5c68aa
2 changed files with 8 additions and 4 deletions
+3
View File
@@ -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);
}