feat: add build.gradle parameters for nightly builds
This commit is contained in:
parent
72e0a9c32e
commit
14775aeb67
|
@ -32,6 +32,19 @@ android {
|
|||
nightly{
|
||||
versionNameSuffix '-nightly'
|
||||
applicationIdSuffix '.nightly'
|
||||
|
||||
def tmpFilePath = System.getProperty("user.home") + "/work/_temp/keystore/"
|
||||
def allFilesFromDir = new File(tmpFilePath).listFiles()
|
||||
|
||||
if (allFilesFromDir != null) {
|
||||
def keystoreFile = allFilesFromDir.first()
|
||||
keystoreFile.renameTo("keystore/nightly_keystore.jks")
|
||||
}
|
||||
|
||||
storeFile = file("keystore/nightly_keystore.jks")
|
||||
storePassword System.getenv("SIGNING_STORE_PASSWORD")
|
||||
keyAlias System.getenv("SIGNING_KEY_ALIAS")
|
||||
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
|
||||
}
|
||||
playRelease{
|
||||
initWith release
|
||||
|
|
Loading…
Reference in New Issue