mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 21:15:57 +01:00
Added Updatr support.
This commit is contained in:
parent
11592cd742
commit
41a71d6185
@ -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
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