Added Updatr support.

This commit is contained in:
sk89q 2011-01-12 09:18:09 -08:00
parent 11592cd742
commit 41a71d6185
2 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,8 @@
<fileset dir="."/>
<globmapper from="*.txt" to="*.txt"/>
</copy>
<copy tofile="${release.dir}/worldguard.updatr" file="worldguard.updatr"/>
<replace file="${release.dir}/worldguard.updatr" token="%version%" value="${version}"/>
<copy file="worldguard.properties" todir="${release.dir}"/>
<copy tofile="${release.dir}/WorldGuard.jar" file="${dist.dir}/WorldGuard.jar"/>
<zip destfile="${release.dir}/worldguard-${version}.zip" basedir="${release.dir}" excludes="*.zip"/>

5
worldguard.updatr Normal file
View File

@ -0,0 +1,5 @@
name = WorldGuard
version = %version%
url = updatr.update.sk89q.com/worldguard.updatr
file = cloud.github.com/downloads/sk89q/worldguard/worldguard-%version%.zip
notes =