Fix #20 and #25: Add authorization header workaround for fcgid
[grauphel.git] / build.xml
index 2cec679..32e6a81 100644 (file)
--- a/build.xml
+++ b/build.xml
       </replaceregexp>
     </filterchain>
   </loadfile>
       </replaceregexp>
     </filterchain>
   </loadfile>
-  <property name="zipfile"  value="${phing.project.name}-${version}.zip" />
+  <property name="zipfile"  value="${phing.project.name}-${version}.tar.bz2" />
   <property name="distfile" value="dist/${zipfile}" />
 
   <fileset id="fs.zip" dir=".">
    <include name="**"/>
    <exclude name="dist/"/>
    <exclude name=".git"/>
   <property name="distfile" value="dist/${zipfile}" />
 
   <fileset id="fs.zip" dir=".">
    <include name="**"/>
    <exclude name="dist/"/>
    <exclude name=".git"/>
+   <exclude name=".travis.yml"/>
    <exclude name="**/.gitignore"/>
    <exclude name="**/build.xml"/>
    <exclude name="**/README.html"/>
    <exclude name="**/.gitignore"/>
    <exclude name="**/build.xml"/>
    <exclude name="**/README.html"/>
@@ -33,9 +34,9 @@
      </then>
     </if>
     <!--<delete file="${distfile}" failonerror="false"/>-->
      </then>
     </if>
     <!--<delete file="${distfile}" failonerror="false"/>-->
-    <zip destfile="${distfile}" prefix="grauphel/">
+    <tar destfile="${distfile}" prefix="grauphel/" compression="bzip2">
       <fileset refid="fs.zip"/>
       <fileset refid="fs.zip"/>
-    </zip>
+    </tar>
   </target>
 
 </project>
   </target>
 
 </project>