Returned the build.build file to the last known fully working version.

This commit is contained in:
2019-07-19 22:41:01 +01:00
parent 1c3eb9f3d7
commit ce74e980fa
+1 -2
View File
@@ -35,8 +35,7 @@
<foreach item="File" in="${build.output.directory}" property="fileName">
<if test="${string::to-lower(path::get-extension(fileName)) == '.msi'}">
<property name="tofile" value="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '.' + environment::get-variable('BUILD_NUMBER') + '.msi')}" />
<echo message="##teamcity[setParameter name='env.MSIFileName' value='${tofile}']" />
<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>
</foreach>
</target>