This is an automated email from the ASF dual-hosted git repository.

danny0405 pushed a commit to branch branch-1.22
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 643f9b589877d557a2a1fd570e037200d078c83e
Author: yuzhao.cyz <[email protected]>
AuthorDate: Mon Mar 2 19:12:31 2020 +0800

    Stop building zip archives when building using gradle
    
    (cherry picked from commit a549342294062eba9aa3196e7e6d4bda36fa8291)
---
 release/build.gradle.kts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/release/build.gradle.kts b/release/build.gradle.kts
index 39a70f4..bbc493c 100644
--- a/release/build.gradle.kts
+++ b/release/build.gradle.kts
@@ -172,10 +172,10 @@ fun CrLfSpec.sourceLayout() = copySpec {
     }
 }
 
-for (archive in listOf(Zip::class, Tar::class)) {
+for (archive in listOf(Tar::class)) {
     val taskName = "dist${archive.simpleName}"
     val archiveTask = tasks.register(taskName, archive) {
-        val eol = if (archive == Tar::class) LineEndings.LF else 
LineEndings.CRLF
+        val eol = LineEndings.LF
         group = distributionGroup
         description = "Creates source distribution with $eol line endings for 
text files"
         if (this is Tar) {

Reply via email to