Added a missing . to the name file name. Working :)

This commit is contained in:
2019-07-14 23:00:15 +01:00
parent 0475217d62
commit a6308f1a64
+1 -1
View File
@@ -35,7 +35,7 @@
<foreach item="File" in="${build.output.directory}" property="fileName"> <foreach item="File" in="${build.output.directory}" property="fileName">
<if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}"> <if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}">
<move file="${fileName}" tofile="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + environment::get-variable('BUILD_NUMBER') + '.msi')}" /> <move file="${fileName}" tofile="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '.' + environment::get-variable('BUILD_NUMBER') + '.msi')}" />
</if> </if>
</foreach> </foreach>
</target> </target>