Repository: ant-ivy
Updated Branches:
  refs/heads/master c0e9d2be0 -> 55fb3f893


when packaging the sources, do not default-exclude, but still exclude .git 
folder


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/55fb3f89
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/55fb3f89
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/55fb3f89

Branch: refs/heads/master
Commit: 55fb3f893091b25e836527c1b8463e5382945f1c
Parents: c0e9d2b
Author: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Authored: Sun Apr 15 15:31:45 2018 +0200
Committer: Nicolas Lalevée <nicolas.lale...@hibnet.org>
Committed: Sun Apr 15 15:31:45 2018 +0200

----------------------------------------------------------------------
 build-release.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/55fb3f89/build-release.xml
----------------------------------------------------------------------
diff --git a/build-release.xml b/build-release.xml
index ddf3c50..84a7013 100644
--- a/build-release.xml
+++ b/build-release.xml
@@ -286,12 +286,12 @@
             <arg line="clean -d -x -f"/>
         </exec>
         <mkdir dir="${distrib.dir}/dist/${build.version}"/>
-        <zip 
destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.zip">
-            <zipfileset dir="${build.dir}/snapshot-src" 
prefix="${snapshot.full.name}"/>
+        <zip 
destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.zip" 
defaultexcludes="no">
+            <zipfileset dir="${build.dir}/snapshot-src" 
prefix="${snapshot.full.name}" defaultexcludes="no" excludes=".git/**" />
         </zip>
         <tar 
destfile="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.tar.gz"
-             compression="gzip" longfile="gnu">
-            <zipfileset 
src="${distrib.dir}/dist/${build.version}/${snapshot.full.name}-src.zip"/>
+             compression="gzip" longfile="gnu" defaultexcludes="no">
+            <zipfileset dir="${build.dir}/snapshot-src" 
prefix="${snapshot.full.name}" defaultexcludes="no" excludes=".git/**" />
         </tar>
     </target>
 

Reply via email to