Build numbers in plugin.yml

This commit is contained in:
Morgan 2011-07-19 13:56:40 -04:00
parent 7781e02a97
commit 5d322e327e
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,9 @@
<?xml version="1.0" ?>
<project default="main">
<property environment="env"/>
<property name="label" value="${env.JOB_NAME}-${env.BUILD_NUMBER}"/>
<path id="classpath">
<fileset dir="lib" includes="**/*.jar"/>
</path>
@ -23,6 +26,7 @@
<echo>Compiling</echo>
<javac srcdir="." destdir="bin" debug="on" debuglevel="lines,vars,source" classpathref="classpath" />
<copy file="plugin.yml" tofile="bin/plugin.yml" />
<replace file="bin/plugin.yml" token="b000" value="b${label}" />
</target>
<target name="compress" description="Compression target">

View File

@ -1,6 +1,6 @@
name: Vault
main: net.milkbowl.vault.Vault
version: 1.0.0dev4
version: 1.0.0dev4-b000
author: Cereal
description: >
Abstraction Library for Bukkit Plugins