version bump and added updatekeys to release build

pull/14/head
Tim Su 13 years ago
parent f65222964e
commit a0e41f42dc

@ -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.8.0-rc2" android:versionName="3.8.0-rc3"
android:versionCode="181"> 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"> -->

@ -113,7 +113,7 @@
</target> </target>
<!-- post build: rename apk --> <!-- post build: rename apk -->
<target name="release" depends="clean, get-version, warnings, updatekeys-release, disable-market, android_rules.release"> <target name="release" depends="clean, get-version, 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" />
@ -142,7 +142,7 @@
</target> </target>
<!-- update api keys that require release signing --> <!-- update api keys that require release signing -->
<target name="updatekeys-release" description="update api key values"> <target name="updatekeys-release" description="update release-only api key values">
<property file="${apikey.keyfile}" /> <property file="${apikey.keyfile}" />
<replaceregexp file="${source.dir}/com/todoroo/astrid/actfm/ActFmLoginActivity.java" <replaceregexp file="${source.dir}/com/todoroo/astrid/actfm/ActFmLoginActivity.java"
match="APP_ID = .*" match="APP_ID = .*"

Loading…
Cancel
Save