From 8d5eac959f9216c5bf4ee930dbb1c8d17a062ea4 Mon Sep 17 00:00:00 2001 From: Court Ewing Date: Thu, 27 Jul 2017 14:02:30 -0400 Subject: [PATCH] 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. --- tasks/config/esvm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/config/esvm.js b/tasks/config/esvm.js index 5c7f84152cfa..8283f39ddba1 100644 --- a/tasks/config/esvm.js +++ b/tasks/config/esvm.js @@ -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: {