ensure Canary.inf has latest version number.

This commit is contained in:
walterhiggins 2014-11-14 19:57:48 +00:00
parent f211966884
commit 0bc45c1b49
2 changed files with 6 additions and 2 deletions

View file

@ -209,12 +209,16 @@ Walter Higgins
<target name="package" depends="gendocs,zip_js,compile-plugins" description="generate the distribution" >
<!-- ensure plugin.yml is always copied -->
<delete file="${build}/plugin.yml" />
<delete file="${build}/Canary.inf" />
<copy todir="${build}">
<fileset dir="src/main/resources"/>
</copy>
<replace file="${build}/plugin.yml" value="${scriptcraft-version}-${DSTAMP}">
<replacetoken>[[version]]</replacetoken>
</replace>
<replace file="${build}/Canary.inf" value="${scriptcraft-version}-${DSTAMP}">
<replacetoken>[[version]]</replacetoken>
</replace>
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
<mkdir dir="${dist}/${DSTAMP}" />

View file

@ -1,4 +1,4 @@
main-class = org.scriptcraftjs.canarymod.ScriptCraftPlugin
isLibrary = false
author = walter higgins
version = 2.1.10
author = Walter Higgins
version = [[version]]