This commit is contained in:
Julien Eluard 2017-12-08 11:03:16 +01:00 committed by Julien Eluard
parent f227962a89
commit 3140081d59
3 changed files with 15 additions and 4 deletions

View File

@ -122,7 +122,7 @@ android {
}
signingConfigs {
release {
storeFile file(STATUS_RELEASE_STORE_FILE)
storeFile file(STATUS_RELEASE_STORE_FILE.replaceAll("~", System.properties['user.home']))
storePassword STATUS_RELEASE_STORE_PASSWORD
keyAlias STATUS_RELEASE_KEY_ALIAS
keyPassword STATUS_RELEASE_KEY_PASSWORD

View File

@ -19,8 +19,8 @@
android.useDeprecatedNdk=true
# To create a new keystore for development purposes (https://developer.android.com/studio/publish/app-signing.html)
# $keytool -genkey -v -keystore ~/status-release-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias alias
STATUS_RELEASE_STORE_FILE=/path/to/status-release-keystore.jks
# $keytool -genkey -v -keystore ./status-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias status
STATUS_RELEASE_STORE_FILE=~/.gradle/status-im.keystore
STATUS_RELEASE_STORE_PASSWORD=password
STATUS_RELEASE_KEY_ALIAS=alias
STATUS_RELEASE_KEY_ALIAS=status
STATUS_RELEASE_KEY_PASSWORD=password

11
scripts/build-android Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env sh
set -eof pipefail
BRANCH=$1
if [[ $# -eq 0 ]] ; then
echo 'Branch required as first argument'
exit 0
fi