Skip to content

Commit

Permalink
Merge pull request #7387 from jbudz/issues/6728
Browse files Browse the repository at this point in the history
[packages] Set publish prefix kibana/major_version.x
  • Loading branch information
jbudz authored Jun 15, 2016
2 parents 314e095 + 41004fd commit b32949d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:k4pull: https://github.com/elastic/kibana/pull/
:version: master
:esversion: master
:packageversion: master

include::introduction.asciidoc[]

Expand Down
10 changes: 5 additions & 5 deletions docs/kibana-repositories.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add
+
["source","sh",subs="attributes"]
--------------------------------------------------
echo "deb http://packages.elastic.co/kibana/{version}/debian stable main" | sudo tee -a /etc/apt/sources.list.d/kibana.list
echo "deb https://packages.elastic.co/kibana/{packageversion}/debian stable main" | sudo tee -a /etc/apt/sources.list.d/kibana.list
--------------------------------------------------
+
[WARNING]
Expand Down Expand Up @@ -82,11 +82,11 @@ rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
+
["source","sh",subs="attributes"]
--------------------------------------------------
[kibana-{version}]
name=Kibana repository for {version}.x packages
baseurl=http://packages.elastic.co/kibana/{version}/centos
[kibana-{packageversion}]
name=Kibana repository for {packageversion} packages
baseurl=https://packages.elastic.co/kibana/{packageversion}/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
--------------------------------------------------
+
Expand Down
2 changes: 1 addition & 1 deletion tasks/config/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default (grunt) => {
const VERSION = grunt.config.get('build.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';
Expand Down

0 comments on commit b32949d

Please sign in to comment.