mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 03:25:24 +01:00
Added Updatr support.
This commit is contained in:
parent
11592cd742
commit
41a71d6185
@ -51,6 +51,8 @@
|
|||||||
<fileset dir="."/>
|
<fileset dir="."/>
|
||||||
<globmapper from="*.txt" to="*.txt"/>
|
<globmapper from="*.txt" to="*.txt"/>
|
||||||
</copy>
|
</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 file="worldguard.properties" todir="${release.dir}"/>
|
||||||
<copy tofile="${release.dir}/WorldGuard.jar" file="${dist.dir}/WorldGuard.jar"/>
|
<copy tofile="${release.dir}/WorldGuard.jar" file="${dist.dir}/WorldGuard.jar"/>
|
||||||
<zip destfile="${release.dir}/worldguard-${version}.zip" basedir="${release.dir}" excludes="*.zip"/>
|
<zip destfile="${release.dir}/worldguard-${version}.zip" basedir="${release.dir}" excludes="*.zip"/>
|
||||||
|
5
worldguard.updatr
Normal file
5
worldguard.updatr
Normal 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 =
|
Loading…
Reference in New Issue
Block a user