generate version files regardless of version.properties
This commit is contained in:
parent
34d093981d
commit
6e94034741
|
@ -109,10 +109,9 @@
|
||||||
<property name="version.tofile"
|
<property name="version.tofile"
|
||||||
value="${build}/${version.file.dstdir}/${version.file}"/>
|
value="${build}/${version.file.dstdir}/${version.file}"/>
|
||||||
|
|
||||||
<!-- regenerate if version.properties changes -->
|
<echo>cp ${version.file.srcdir}/${version.file}.in -> ${version.tofile}</echo>
|
||||||
<copydep file="${version.file.srcdir}/${version.file}.in"
|
<copy file="${version.file.srcdir}/${version.file}.in"
|
||||||
tofile="${version.tofile}"
|
tofile="${version.tofile}"/>
|
||||||
depends="version.properties"/>
|
|
||||||
|
|
||||||
<replace file="${version.tofile}">
|
<replace file="${version.tofile}">
|
||||||
<replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/>
|
<replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/>
|
||||||
|
|
Loading…
Reference in New Issue