#! /bin/bash

ant clean release
cp bin/EmailPopup-unsigned.apk bin/EmailPopup-signed.apk
jarsigner -verbose -keystore ../../projects/Email\ Popup/misc/blntsoft-android.keystore bin/EmailPopup-signed.apk blntsoft-android
zipalign -v 4 bin/EmailPopup-signed.apk bin/EmailPopup-zipaligned.apk

#! /bin/bash

rm -rf bin
ant clean release
cp bin/EmailPopup-unsigned.apk bin/EmailPopup-signed.apk
jarsigner -verbose -keystore ../../Documents/projects/Email\ Popup/misc/blntsoft-android.keystore bin/EmailPopup-signed.apk blntsoft-android
zipalign -v 4 bin/EmailPopup-signed.apk bin/EmailPopup-zipaligned.apk

Delete bin/ so that zipalign does not complain about exisiting files
Delete bin/ so that zipalign does not complain about exisiting files
