Merge pull request #14493 from rjernst/tar_extension

Change tar extension back to tar.gz instead of tgz
This commit is contained in:
Ryan Ernst 2015-11-03 11:41:32 -08:00
commit 6bf640293c
2 changed files with 2 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class ClusterFormationTasks {
static void configureDistributionDependency(Project project, String distro) { static void configureDistributionDependency(Project project, String distro) {
String elasticsearchVersion = ElasticsearchProperties.version String elasticsearchVersion = ElasticsearchProperties.version
String packaging = distro == 'tar' ? 'tgz' : distro String packaging = distro == 'tar' ? 'tar.gz' : distro
project.configurations { project.configurations {
elasticsearchDistro elasticsearchDistro
} }

View File

@ -19,6 +19,7 @@
task buildTar(type: Tar, dependsOn: dependencyFiles) { task buildTar(type: Tar, dependsOn: dependencyFiles) {
baseName = 'elasticsearch' baseName = 'elasticsearch'
extension = 'tar.gz'
with archivesFiles with archivesFiles
compression = Compression.GZIP compression = Compression.GZIP
} }