esvm: use branch from package.json (#13149)
Since versions are synced across the stack, the esvm config can use the same branch configuration as Kibana itself.
This commit is contained in:
parent
e922f00445
commit
8d5eac959f
|
@ -4,10 +4,11 @@ module.exports = function (grunt) {
|
|||
const resolve = require('path').resolve;
|
||||
const directory = resolve(__dirname, '../../esvm');
|
||||
const dataDir = resolve(directory, 'data_dir');
|
||||
const pkgBranch = grunt.config.get('pkg.branch');
|
||||
|
||||
return {
|
||||
options: {
|
||||
branch: 'master',
|
||||
branch: pkgBranch,
|
||||
fresh: !grunt.option('esvm-no-fresh'),
|
||||
config: {
|
||||
http: {
|
||||
|
|
Loading…
Reference in a new issue