Skip to content

Commit 5fb2c0a

Browse files
cwperksreta
andauthored
Update output message from localDistro to include full path to OpenSearch installation (#20924)
* Update output message from localDistro to include full path to OpenSearch installation Signed-off-by: Craig Perkins <cwperx@amazon.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 316c070 commit 5fb2c0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gradle/local-distribution.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ opensearch_distributions {
4646
}
4747

4848
tasks.register('localDistro', Sync) {
49+
def opensearchVersion = project.version
4950
from(opensearch_distributions.local.extracted)
5051
into("build/distribution/local")
5152
doLast {
52-
logger.lifecycle("OpenSearch distribution installed to ${destinationDir}.")
53+
logger.lifecycle("OpenSearch distribution installed to ${new File(destinationDir, 'opensearch-' + opensearchVersion)}")
5354
}
5455
}

0 commit comments

Comments
 (0)