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:
Court Ewing 2017-07-27 14:02:30 -04:00 committed by GitHub
parent e922f00445
commit 8d5eac959f

View file

@ -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: {