Auto merged - #2615 at Fri, 01 Oct 2021 21:17:07 GMT
Fixed parsing of firmware versions to support multi-digit versions.10.7-maintenance 10.7.1
parent
e459150c24
commit
72226a899c
|
@ -417,7 +417,7 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
function populateBuilds(builds, target, manufacturerId, duplicateName, targetVersions, callback) {
|
||||
if (targetVersions) {
|
||||
targetVersions.forEach(function(descriptor) {
|
||||
const versionRegex = /^(\d.\d.\d(?:-\w+)?)(?: #(\d+))?$/;
|
||||
const versionRegex = /^(\d+.\d+.\d+(?:-\w+)?)(?: #(\d+))?$/;
|
||||
const versionParts = descriptor.version.match(versionRegex);
|
||||
if (!versionParts) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue