Build: Strip newlines when loading release.version property from version.txt

This commit is contained in:
jzaefferer 2010-08-05 18:03:05 +02:00
parent de266a1275
commit 1e4fbd95d2

View File

@ -18,7 +18,9 @@
<property file="ant.properties" />
<loadfile failonerror="no" srcFile="../version.txt" property="release.version" />
<loadfile failonerror="no" srcFile="../version.txt" property="release.version">
<filterchain><striplinebreaks/></filterchain>
</loadfile>
<property name="release.filename" value="jquery-ui-${release.version}" />
<property name="dist.dir" value="dist/${release.filename}/" />