allow alpha / beta / rc releases
This commit is contained in:
parent
40d81ab8c1
commit
9a658ab76d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ test('version is included as html meta tag', function(assert) {
|
|||
andThen(function() {
|
||||
assert.ok($('head meta[name="build-info"]').length === 1, 'tag exists');
|
||||
assert.ok(
|
||||
$('head meta[name="build-info"]').attr('content').match(/^version=v\d[\d\.]+\d(\+[\da-z]{8})?$/) !== null,
|
||||
$('head meta[name="build-info"]').attr('content').match(/^version=v\d[\d\.]+\d(-(alpha|beta|rc)\d)?(\+[\da-z]{8})?$/) !== null,
|
||||
'format '.concat($('head meta[name="build-info"]').attr('content'), ' is correct')
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue