ci: sign with consistent release keystore
This commit is contained in:
parent
ad602f48c3
commit
16ed756e4f
2 changed files with 19 additions and 8 deletions
|
|
@ -26,10 +26,12 @@ android {
|
|||
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
storeFile = file(System.getProperty("user.home") + "/.android/debug.keystore")
|
||||
storePassword = "android"
|
||||
keyAlias = "androiddebugkey"
|
||||
keyPassword = "android"
|
||||
val keystorePath = System.getenv("RELEASE_KEYSTORE_PATH")
|
||||
storeFile = if (keystorePath != null) file(keystorePath)
|
||||
else file(System.getProperty("user.home") + "/.android/debug.keystore")
|
||||
storePassword = System.getenv("RELEASE_KEYSTORE_PASS") ?: "android"
|
||||
keyAlias = System.getenv("RELEASE_KEY_ALIAS") ?: "androiddebugkey"
|
||||
keyPassword = System.getenv("RELEASE_KEY_PASS") ?: "android"
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue