[packages] Set publish prefix kibana/major_version.x

This commit is contained in:
Jonathan Budzenski 2016-06-07 14:22:23 -05:00
parent 8294487cee
commit 9d809f3aea

View file

@ -2,7 +2,7 @@ export default (grunt) => {
const VERSION = grunt.config.get('pkg.version');
const FOLDER_STAGING = `kibana/staging/${VERSION.match(/\d\.\d\.\d/)[0]}-XXXXXXX/repos/${VERSION.match(/\d\./)[0]}x`;
const FOLDER_PRODUCTION = `kibana/${VERSION.match(/\d\.\d/)[0]}`;
const FOLDER_PRODUCTION = `kibana/${version.match(/\d\./)[0]}x`;
const FOLDERNAME_DEB = 'debian';
const FOLDERNAME_RPM = 'centos';