You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2021/04/26 07:46:19 UTC

[incubator-eventmesh] branch develop updated: bugfix build.gradle tar task (#318)

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

mikexue pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3283756  bugfix build.gradle tar task (#318)
3283756 is described below

commit 3283756f1716b01bb2c8e8f6c2f98d3c743043e3
Author: yangjun <ya...@gmail.com>
AuthorDate: Mon Apr 26 15:46:12 2021 +0800

    bugfix build.gradle tar task (#318)
    
    Co-authored-by: jonyang(杨军) <jo...@webank.com>
---
 build.gradle | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index 5a9ded2..2b64b77 100644
--- a/build.gradle
+++ b/build.gradle
@@ -54,18 +54,19 @@ allprojects {
 }
 
 task tar(type: Tar) {
-    archiveExtension = 'tar.gz'
+    extension = 'tar.gz'
     compression = Compression.GZIP
-    archiveFileName = project.name + '_' + project.version + '.' + archiveExtension
+    archiveFileName = project.name + '_' + project.version + '.' + extension
     destinationDirectory = new File(projectDir, 'build')
     into('/') {
         from 'dist'
     }
 }
 
+
 task zip(type: Zip) {
-    archiveExtension = 'zip'
-    archiveFileName = project.name + '.' + project.version + '.' + archiveExtension
+    extension = 'zip'
+    archiveFileName = project.name + '.' + project.version + '.' + extension
     destinationDirectory = new File(projectDir, 'build')
     into('/') {
         from 'dist'

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org