mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
fe4609647d
commit
5cb9cd7d33
1 changed files with 4 additions and 4 deletions
|
@ -97,9 +97,9 @@ function downloadFile(url, dest, log) {
|
|||
}
|
||||
|
||||
function getFilename(license, version) {
|
||||
const basename = `elasticsearch${
|
||||
license === 'oss' ? '-oss-' : '-'
|
||||
}${version}`;
|
||||
if (license === 'oss') {
|
||||
return `elasticsearch-oss/elasticsearch-oss-${version}-SNAPSHOT.tar.gz`;
|
||||
}
|
||||
|
||||
return `${basename}-SNAPSHOT.tar.gz`;
|
||||
return `elasticsearch-${version}-SNAPSHOT.tar.gz`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue