Repository: ant-ivyde
Updated Branches:
  refs/heads/master 98a25fc91 -> 86f0ba22c


Package the sources within a version specific root directory


Project: http://git-wip-us.apache.org/repos/asf/ant-ivyde/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivyde/commit/86f0ba22
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivyde/tree/86f0ba22
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivyde/diff/86f0ba22

Branch: refs/heads/master
Commit: 86f0ba22c9ee62c142f6a102128beb2d14849f25
Parents: 98a25fc
Author: Jaikiran Pai <[email protected]>
Authored: Sun Jun 17 09:51:23 2018 +0530
Committer: Jaikiran Pai <[email protected]>
Committed: Sun Jun 17 09:51:23 2018 +0530

----------------------------------------------------------------------
 build.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86f0ba22/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 3dc31de..67fe16a 100644
--- a/build.xml
+++ b/build.xml
@@ -305,17 +305,18 @@ ivyde.build.version=${build.version}
     </target>
 
     <target name="package-sources" depends="compute-version" 
description="Create source archive files">
-        <delete dir="${work.dir}/sources"/>
-        <mkdir dir="${work.dir}/sources"/>
+        <mkdir dir="${dist.dir}"/>
         <exec executable="git" dir="${basedir}" >
             <arg value="archive"/>
             <arg value="HEAD"/>
+            <arg value="--prefix=apache-ivyde-sources-${build.version}/"/>
             <arg value="-o"/>
             <arg 
value="${dist.dir}/apache-ivyde-sources-${build.version}.tar.gz"/>
         </exec>
         <exec executable="git" dir="${basedir}" >
             <arg value="archive"/>
             <arg value="HEAD"/>
+            <arg value="--prefix=apache-ivyde-sources-${build.version}/"/>
             <arg value="-o"/>
             <arg 
value="${dist.dir}/apache-ivyde-sources-${build.version}.zip"/>
         </exec>

Reply via email to