Skip to content

Commit

Permalink
ensure Canary.inf has latest version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterhiggins committed Nov 14, 2014
1 parent f211966 commit 0bc45c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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}" />
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/Canary.inf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
main-class = org.scriptcraftjs.canarymod.ScriptCraftPlugin
isLibrary = false
author = walter higgins
version = 2.1.10
author = Walter Higgins
version = [[version]]

0 comments on commit 0bc45c1

Please sign in to comment.