1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 09:52:16 -05:00

verify res/raw/changelog.xml for an entry for the version being bumped to before changing anything for target bump-version.

This commit is contained in:
Ashley Willis 2013-07-06 23:33:38 -04:00
parent da55375228
commit cdad73ce6f

View File

@ -139,6 +139,9 @@
</if.contrib>
<echo>Setting version to ${version-name}</echo>
<exec executable="perl" failonerror="true">
<arg line="-0 -ne '/\x3Crelease version=\x22${version-name}\x22/ or die qq/No changelog for ${version-name}\n/' res/raw/changelog.xml" />
</exec>
<replace file="AndroidManifest.xml"
token="android:versionName=&quot;${current-version-name}&quot;"
value="android:versionName=&quot;${version-name}&quot;" summary="true"