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 resolve = require('path').resolve;
|
||||||
const directory = resolve(__dirname, '../../esvm');
|
const directory = resolve(__dirname, '../../esvm');
|
||||||
const dataDir = resolve(directory, 'data_dir');
|
const dataDir = resolve(directory, 'data_dir');
|
||||||
|
const pkgBranch = grunt.config.get('pkg.branch');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
options: {
|
options: {
|
||||||
branch: 'master',
|
branch: pkgBranch,
|
||||||
fresh: !grunt.option('esvm-no-fresh'),
|
fresh: !grunt.option('esvm-no-fresh'),
|
||||||
config: {
|
config: {
|
||||||
http: {
|
http: {
|
||||||
|
|
Loading…
Reference in a new issue