Trying the nant variable inside the string.

This commit is contained in:
2019-07-14 22:19:05 +01:00
parent 112fdf0bb9
commit 07569b146e
+1 -1
View File
@@ -38,7 +38,7 @@
<!-- If the file has the .msi extension -->
<if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}">
<!-- Rename the file to .txt extension -->
<move file="${fileName}" tofile="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + ${build.number} + '.msi')}" />
<move file="${fileName}" tofile="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '${build.number}.msi')}" />
</if>
</foreach>
</target>