From 5a446ffe4e336553bc96b9927dad519784ea5195 Mon Sep 17 00:00:00 2001 From: spalger Date: Fri, 21 Oct 2016 14:58:48 -0700 Subject: [PATCH] [build] place the plugin contents under the kibana directory Original commit: elastic/kibana-plugin-helpers@0a0f5fea0a3f95529ab37c7eb4ae2440f5a85785 --- packages/kbn-plugin-helpers/tasks/build/build_action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-plugin-helpers/tasks/build/build_action.js b/packages/kbn-plugin-helpers/tasks/build/build_action.js index 715078a28048..dab8166224b7 100644 --- a/packages/kbn-plugin-helpers/tasks/build/build_action.js +++ b/packages/kbn-plugin-helpers/tasks/build/build_action.js @@ -18,7 +18,7 @@ module.exports = function (plugin) { vfs .src(files, { base: plugin.root }) .pipe(rename(function nestFileInDir(path) { - path.dirname = join(buildId, path.dirname); + path.dirname = join('kibana', plugin.id, path.dirname); })) .pipe(zip(`${buildId}.zip`)) .pipe(vfs.dest(join(plugin.root, 'build')));