Another attempt at the version number rename.
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@
|
||||
|
||||
<property name="solution.directory" value="${directory::get-current-directory()}"/>
|
||||
<property name="build.output.directory" value="${solution.directory}\${outputDir}"/>
|
||||
<property name="build.number" value="${build.number}"/>
|
||||
<property name="system.Version.full" value="${system.Version.full}"/>
|
||||
|
||||
<target name="setup">
|
||||
<delete dir="${build.output.directory}"/>
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<foreach item="File" in="${build.output.directory}" property="fileName">
|
||||
<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) + '${build.number}.msi')}" />
|
||||
<move file="${fileName}" tofile="${path::combine(path::get-directory-name(fileName), path::get-file-name-without-extension(fileName) + '${system.Version.full}.msi')}" />
|
||||
</if>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
Reference in New Issue
Block a user