Fix the format issue of the binaries (#938)
Closes: #924
diff --git a/build.gradle b/build.gradle
index a73b353..4bcf448 100644
--- a/build.gradle
+++ b/build.gradle
@@ -264,10 +264,14 @@
if (p.goOs == 'linux') { compression = Compression.GZIP }
destinationDir = file('./release')
baseName = "${p.zipFileName}-${packageVersion}-${p.owOs}-${p.goArch}"
- from "./build/${p.goOs}-${p.goArch}/"
- include "${buildFileName}*"
- from "./"
- include "LICENSE.txt", "NOTICE.txt", "README.md", "docs/**"
+
+ from("./build/${p.goOs}-${p.goArch}/") {
+ include "${buildFileName}*"
+ }
+
+ from("./") {
+ include "LICENSE.txt", "NOTICE.txt", "README.md", "docs/**"
+ }
}
})