changed version code back to beta and changed way sources get copied in ant build

pull/14/head
Tim Su 15 years ago
parent 0d3322c474
commit c2954b19a7

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionName="3.7.7" android:versionName="3.8.0-rc4"
android:versionCode="184"> android:versionCode="183">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card --> <!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> --> <!-- android:installLocation="internalOnly"> -->

@ -70,16 +70,18 @@
--> -->
<setup /> <setup />
<!-- amalgamate sources --> <target name="copy-sources">
<delete dir="${source.dir}" /> <!-- amalgamate sources -->
<mkdir dir="${source.dir}" /> <delete dir="${source.dir}" />
<for list="${astrid.sources}" param="dir"> <mkdir dir="${source.dir}" />
<sequential> <for list="${astrid.sources}" param="dir">
<copy todir="${source.dir}"> <sequential>
<fileset dir="@{dir}" /> <copy todir="${source.dir}">
</copy> <fileset dir="@{dir}" />
</sequential> </copy>
</for> </sequential>
</for>
</target>
<target name="get-version"> <target name="get-version">
<loadfile property="manifest" srcFile="AndroidManifest.xml" /> <loadfile property="manifest" srcFile="AndroidManifest.xml" />
@ -109,11 +111,11 @@
</exec> </exec>
</target> </target>
<target name="debug" depends="clean, updatekeys, android_rules.debug"> <target name="debug" depends="clean, copy-sources, updatekeys, android_rules.debug">
</target> </target>
<!-- post build: rename apk --> <!-- post build: rename apk -->
<target name="release" depends="clean, get-version, warnings, updatekeys, updatekeys-release, disable-market, android_rules.release"> <target name="release" depends="clean, get-version, copy-sources, warnings, updatekeys, updatekeys-release, disable-market, android_rules.release">
<mkdir dir="../release" /> <mkdir dir="../release" />
<property name="out.final.package" <property name="out.final.package"
location="../release/${ant.project.name}-${manifest.version.code}-${manifest.version.name}-release.apk" /> location="../release/${ant.project.name}-${manifest.version.code}-${manifest.version.name}-release.apk" />

Loading…
Cancel
Save