summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-09-18 01:27:39 +0200
committersnowleo <schneeleo@gmail.com>2011-09-18 01:27:39 +0200
commita845f351f81d1a3b287d786adcce24d01b5d7615 (patch)
tree3948ad568373ee28fbe95405051437e844234b56
parent997a409b5a29720e8f2567d8153463a24f0d7dd8 (diff)
downloadEssentials-a845f351f81d1a3b287d786adcce24d01b5d7615.tar
Essentials-a845f351f81d1a3b287d786adcce24d01b5d7615.tar.gz
Essentials-a845f351f81d1a3b287d786adcce24d01b5d7615.tar.lz
Essentials-a845f351f81d1a3b287d786adcce24d01b5d7615.tar.xz
Essentials-a845f351f81d1a3b287d786adcce24d01b5d7615.zip
The correct ant variable from TeamCity
-rw-r--r--build.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 1f06ef38e..e0172132c 100644
--- a/build.xml
+++ b/build.xml
@@ -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"/>