#!/bin/bash
cp build/outputs/apk/fork-release-unsigned.apk build/outputs/apk/fork-release-signed-unaligned.apk
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/android-release-key.keystore build/outputs/apk/fork-release-signed-unaligned.apk android-release-key
~/Downloads/android-sdk-linux/build-tools/23.0.3/zipalign -v 4 build/outputs/apk/fork-release-signed-unaligned.apk build/outputs/apk/fork-release.apk

Add a script to sign and zipalign the release APK.
Add a script to sign and zipalign the release APK.

This only works for me on yoda (because that's where the key lives).
