Update firmware flasher to ignore non-matching release files.
parent
a348b5de8e
commit
593538f2d2
|
@ -43,6 +43,9 @@ TABS.firmware_flasher.initialize = function (callback) {
|
||||||
var asset = assets[assetIndex];
|
var asset = assets[assetIndex];
|
||||||
var targetFromFilenameExpression = /.*_(.*)\.(.*)/;
|
var targetFromFilenameExpression = /.*_(.*)\.(.*)/;
|
||||||
var match = targetFromFilenameExpression.exec(asset.name);
|
var match = targetFromFilenameExpression.exec(asset.name);
|
||||||
|
if (!match) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
var target = match[1];
|
var target = match[1];
|
||||||
var format = match[2];
|
var format = match[2];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue