Autoupdate doc/version.sty fcversion at release.

This commit is contained in:
Michael Pope 2015-07-28 15:18:43 +09:30 committed by Mike Pope
parent 2fbace8526
commit 4a3e8d878c
1 changed files with 3 additions and 0 deletions

View File

@ -240,6 +240,9 @@
<replaceregexp file="${freecol.src.dir}/net/sf/freecol/FreeCol.java"
match="FREECOL_VERSION\s*=\s*&quot;(.*?)&quot;\;"
replace="FREECOL_VERSION = &quot;${freecol.version}&quot;\;"/>
<replaceregexp file="${freecol.doc.dir}/version.sty"
match="fcversion\}\{(.*?)\}"
replace="fcversion\}\{${freecol.version}\}"/>
<echo message="Game version updated in FreeCol.java" />
</target>