prepared release

This commit is contained in:
Daniel Gultsch 2014-03-15 16:42:04 +01:00
parent 8cd59bb944
commit 0b3b0da2e8
2 changed files with 30 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.siacs.conversations" package="eu.siacs.conversations"
android:versionCode="1" android:versionCode="1"
android:versionName="1.0" > android:versionName="0.1-rc1" >
<uses-sdk <uses-sdk
android:minSdkVersion="14" android:minSdkVersion="14"
@ -89,4 +89,4 @@
</activity> </activity>
</application> </application>
</manifest> </manifest>

28
custom_rules.xml Normal file
View 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>