Output a release build into antbuild so 'ant release install' works

pull/14/head
Tim Su 14 years ago
parent 9c0da435c4
commit 1dd520c149

@ -212,11 +212,13 @@
<!-- Zip aligns the APK --> <!-- Zip aligns the APK -->
<mkdir dir="../release" /> <mkdir dir="../release" />
<property name="out.final.package" <property name="out.final.file" location="${out.absolute.dir}/${ant.project.name}-release.apk" />
<property name="out.release.file"
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" />
<zipalign-helper in.package="${out.unaligned.file}" <zipalign-helper in.package="${out.unaligned.file}"
out.package="${out.final.package}" /> out.package="${out.final.file}" />
<echo>Final Release Package: ${out.final.package}</echo> <copy file="${out.final.file}" tofile="${out.release.file}" />
<echo>Final Release Package: ${out.release.file}</echo>
<record-build-info /> <record-build-info />
</target> </target>

Loading…
Cancel
Save