Skip to content

Commit

Permalink
updat gitignore; add make_release.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
vitriolix committed Apr 14, 2015
1 parent d0192c1 commit cb77321
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
release.key
openarchive-release.keystore

# Built application files
*.apk
Expand Down
12 changes: 12 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

# from: http://developer.android.com/tools/publishing/app-signing.html

./gradlew assembleRelease

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore openarchive-release.keystore app/build/outputs/apk/app-release-unsigned.apk release

jarsigner -verify -verbose -certs app/build/outputs/apk/app-release-unsigned.apk

/home/josh/Android/Sdk/build-tools/21.1.2/zipalign -v 4 app/build/outputs/apk/app-release-unsigned.apk openarchive-release.apk

0 comments on commit cb77321

Please sign in to comment.