mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42: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:
parent
da55375228
commit
cdad73ce6f
@ -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="${current-version-name}""
|
||||
value="android:versionName="${version-name}"" summary="true"
|
||||
|
Loading…
Reference in New Issue
Block a user