comment new Edition date source

This commit is contained in:
sonora 2014-12-07 15:28:51 +01:00
parent cf47c09c32
commit 1e98fc9d54

View file

@ -201,7 +201,7 @@
</condition> </condition>
<then> <then>
<!-- old expression with manual version input: replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;(.*)&lt;' replace='"app_version"&gt;2.0.0${build.version}&lt;' byline="true" / --> <!-- old expression with manual version input: replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;(.*)&lt;' replace='"app_version"&gt;2.0.0${build.version}&lt;' byline="true" / -->
<!-- From old dev apk version string, cut off old build number ("#old_build_number" and after) and compile new apk version from app_version and #new_build_number --> <!-- From old dev apk version string, cut off old build number ("#old_build_number" and after) and compile new apk version from app_version and #new_build_number (=BUILD_NUMBER in builder) -->
<replaceregexp file="res/values/no_translate.xml" match='"app_version"&gt;([^#]+)(.*)&lt;' replace='"app_version"&gt;\1${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>
@ -210,6 +210,7 @@
<isset property="app.edition" /> <isset property="app.edition" />
</condition> </condition>
<then> <then>
<!-- Use BUILD_ID from builder to get precise apk Edition date -->
<replaceregexp file="res/values/no_translate.xml" match='"app_edition"&gt;(.*)&lt;' replace='"app_edition"&gt;${app.edition}&lt;' byline="true" /> <replaceregexp file="res/values/no_translate.xml" match='"app_edition"&gt;(.*)&lt;' replace='"app_edition"&gt;${app.edition}&lt;' byline="true" />
</then> </then>
</if> </if>