The correct ant variable from TeamCity

This commit is contained in:
snowleo 2011-09-18 01:27:39 +02:00
parent 997a409b5a
commit a845f351f8

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="collect">
<target name="setversion">
<replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
<replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
<replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
<replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: ${build.number}"/>
<replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: ${build.number}"/>
<replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: ${build.number}"/>
</target>
<target name="buildall" depends="setversion">
<ant dir="Essentials" antfile="build.xml"/>