mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-12 19:31:05 +01:00
Using ant properties
This commit is contained in:
parent
a6673c5157
commit
997a409b5a
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project default="collect">
|
<project default="collect">
|
||||||
<target name="setversion">
|
<target name="setversion">
|
||||||
<replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: %build.number%"/>
|
<replace dir="." includes="**/src/plugin.yml" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
|
||||||
<replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: %build.number%"/>
|
<replace dir="." includes="**/src/messages*.properties" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
|
||||||
<replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: %build.number%"/>
|
<replace dir="." includes="**/src/items.csv" token="version: TeamCity" value="version: ${BUILDNUMBER}"/>
|
||||||
</target>
|
</target>
|
||||||
<target name="buildall" depends="setversion">
|
<target name="buildall" depends="setversion">
|
||||||
<ant dir="Essentials" antfile="build.xml"/>
|
<ant dir="Essentials" antfile="build.xml"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user