prepared release
This commit is contained in:
parent
8cd59bb944
commit
0b3b0da2e8
|
@ -2,7 +2,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="eu.siacs.conversations"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
android:versionName="0.1-rc1" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
|
|
28
custom_rules.xml
Normal file
28
custom_rules.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
|
||||
<target name="rename-release-with-version-number" >
|
||||
|
||||
<xmlproperty
|
||||
collapseAttributes="true"
|
||||
file="AndroidManifest.xml"
|
||||
prefix="themanifest" />
|
||||
|
||||
<property
|
||||
name="out.packaged.file"
|
||||
location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}-unsigned.apk" />
|
||||
|
||||
<property
|
||||
name="out.final.file"
|
||||
location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}.apk" />
|
||||
</target>
|
||||
|
||||
<target
|
||||
name="-set-release-mode"
|
||||
depends="rename-release-with-version-number,android_rules.-set-release-mode" >
|
||||
|
||||
<echo message="target: ${build.target}" >
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in a new issue