regex change for latest release service. Support for other tags (like -beta and -hotfix)
This commit is contained in:
parent
6aa7ee2bbb
commit
982a90b449
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function verifyTagFormat(tag) {
|
function verifyTagFormat(tag) {
|
||||||
var regex = /^v?\d+\.\d+(\.\d+)?(-rc\d)?$/i;
|
var regex = /^v?\d+\.\d+(\.\d+)?(-([a-z]+))?(\d+)?$/i;
|
||||||
return regex.exec(tag);
|
return regex.exec(tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue