fix zip file name
authorChristian Weiske <cweiske@cweiske.de>
Sat, 27 Sep 2014 09:29:34 +0000 (11:29 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 27 Sep 2014 09:29:34 +0000 (11:29 +0200)
build.xml

index 5524954..2cec679 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -4,7 +4,13 @@
     grauphel phing build file. Used to create releases.
   -->
 
-  <loadfile property="version" file="appinfo/version"/>
+  <loadfile property="version" file="appinfo/version">
+    <filterchain>
+      <replaceregexp>
+       <regexp pattern="\r?\n" replace=""/>
+      </replaceregexp>
+    </filterchain>
+  </loadfile>
   <property name="zipfile"  value="${phing.project.name}-${version}.zip" />
   <property name="distfile" value="dist/${zipfile}" />