Skip to content

Commit 0bc45c1

Browse files
committed
ensure Canary.inf has latest version number.
1 parent f211966 commit 0bc45c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,16 @@ Walter Higgins
209209
<target name="package" depends="gendocs,zip_js,compile-plugins" description="generate the distribution" >
210210
<!-- ensure plugin.yml is always copied -->
211211
<delete file="${build}/plugin.yml" />
212+
<delete file="${build}/Canary.inf" />
212213
<copy todir="${build}">
213214
<fileset dir="src/main/resources"/>
214215
</copy>
215216
<replace file="${build}/plugin.yml" value="${scriptcraft-version}-${DSTAMP}">
216217
<replacetoken>[[version]]</replacetoken>
217218
</replace>
219+
<replace file="${build}/Canary.inf" value="${scriptcraft-version}-${DSTAMP}">
220+
<replacetoken>[[version]]</replacetoken>
221+
</replace>
218222

219223
<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
220224
<mkdir dir="${dist}/${DSTAMP}" />

src/main/resources/Canary.inf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
main-class = org.scriptcraftjs.canarymod.ScriptCraftPlugin
22
isLibrary = false
3-
author = walter higgins
4-
version = 2.1.10
3+
author = Walter Higgins
4+
version = [[version]]

0 commit comments

Comments
 (0)