mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Fix "-set-version" build target that checks if the changelog is up-to-date
Adjust path to the master changelog file.
This commit is contained in:
parent
a779e0e6f8
commit
55b10948c4
@ -140,7 +140,7 @@
|
|||||||
|
|
||||||
<echo>Setting version to ${version-name}</echo>
|
<echo>Setting version to ${version-name}</echo>
|
||||||
<exec executable="perl" failonerror="true">
|
<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" />
|
<arg line="-0 -ne '/\x3Crelease version=\x22${version-name}\x22/ or die qq/No changelog for ${version-name}\n/' res/xml/changelog_master.xml" />
|
||||||
</exec>
|
</exec>
|
||||||
<replace file="AndroidManifest.xml"
|
<replace file="AndroidManifest.xml"
|
||||||
token="android:versionName="${current-version-name}""
|
token="android:versionName="${current-version-name}""
|
||||||
@ -333,7 +333,7 @@
|
|||||||
</else>
|
</else>
|
||||||
</if.contrib>
|
</if.contrib>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="init" depends="-update-abs, -update-ptr, -update-cl, -update-hcp"
|
<target name="init" depends="-update-abs, -update-ptr, -update-cl, -update-hcp"
|
||||||
description="Initialize environment for building" />
|
description="Initialize environment for building" />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user