Merge branch 'master' of ssh://git.code.sf.net/p/kiwix/kiwix

This commit is contained in:
kelson42 2013-04-13 22:10:44 +02:00
commit 76bdb18aa7

View File

@ -21,7 +21,7 @@ function die {
ant release || die "ant release error."
jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore $CERTIFICATE bin/Kiwix-release-unsigned.apk kiwix || die "Error signing the package."
jarsigner -verify bin/Kiwix-release-unsigned.apk || die "The package is not properly signed."
zipalign -f -v 4 bin/Kiwix-release-unsigned.apk bin/kiwix-android.apk || die "Could not zipalign the signed package. Please check."
../src/dependencies/android-sdk/sdk/tools/zipalign -f -v 4 bin/Kiwix-release-unsigned.apk bin/kiwix-android.apk || die "Could not zipalign the signed package. Please check."
echo "[SUCCESS] Your signed release package is ready:"
ls -lh bin/kiwix-android.apk