try automatically preserve app_version in build version

This commit is contained in:
sonora 2014-11-28 08:33:43 +01:00
parent 9035b895fb
commit 7cedd373fa

View file

@ -200,7 +200,7 @@
<isset property="build.version" /> <isset property="build.version" />
</condition> </condition>
<then> <then>
<replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;(.*)&lt;' replace='"app_version"&gt;${build.version}&lt;' byline="true" /> <replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;(.*)&lt;' replace='"app_version"&gt;\1${build.version}&lt;' byline="true" />
</then> </then>
</if> </if>