[esvm] update config to work for master
This commit is contained in:
@ -42,21 +42,26 @@ var versionedOpts = [
|
|||||||
'script.disable_dynamic': false
|
'script.disable_dynamic': false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
version: '>=1.6 <5.0',
|
||||||
|
config: {
|
||||||
|
'node.bench': true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
version: '>2.0 <5.0',
|
||||||
|
config: {
|
||||||
|
'node.testattr': 'test'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
version: '>=1.6',
|
version: '>=1.6',
|
||||||
config: {
|
config: {
|
||||||
'node.bench': true,
|
|
||||||
'script.inline': true,
|
'script.inline': true,
|
||||||
'script.indexed': true,
|
'script.indexed': true,
|
||||||
'path.repo': process.env.ES_PATH_REPO || fromRoot('.es-snapshot-repos'),
|
'path.repo': process.env.ES_PATH_REPO || fromRoot('.es-snapshot-repos'),
|
||||||
'repositories.url.allowed_urls': 'http://snapshot.*'
|
'repositories.url.allowed_urls': 'http://snapshot.*'
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
version: '>2.0',
|
|
||||||
config: {
|
|
||||||
'node.testattr': 'test'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ Version.fromBranch = function (branch) {
|
|||||||
var m;
|
var m;
|
||||||
|
|
||||||
// master === the highest version number
|
// master === the highest version number
|
||||||
if (branch === 'master') return new Version('3.0.0');
|
if (branch === 'master') return new Version('5.0.0');
|
||||||
|
|
||||||
// n.m -> n.m.0
|
// n.m -> n.m.0
|
||||||
if (m = branch.match(/^\d+\.\d+$/)) return new Version(branch + '.0');
|
if (m = branch.match(/^\d+\.\d+$/)) return new Version(branch + '.0');
|
||||||
|
|||||||
Reference in New Issue
Block a user