|
|
@ -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 = .*"
|
|
|
|