Skip to content

Commit 1e4fbd9

Browse files
committed
Build: Strip newlines when loading release.version property from version.txt
1 parent de266a1 commit 1e4fbd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/build.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
<property file="ant.properties" />
2020

21-
<loadfile failonerror="no" srcFile="../version.txt" property="release.version" />
21+
<loadfile failonerror="no" srcFile="../version.txt" property="release.version">
22+
<filterchain><striplinebreaks/></filterchain>
23+
</loadfile>
2224
<property name="release.filename" value="jquery-ui-${release.version}" />
2325

2426
<property name="dist.dir" value="dist/${release.filename}/" />

0 commit comments

Comments
 (0)