Skip to content

Commit

Permalink
Merge pull request #2088 from owncloud/beta_signing_config
Browse files Browse the repository at this point in the history
Include beta signing configuration
  • Loading branch information
davigonz authored Jan 11, 2018
2 parents 1b51ba7 + 21cd77a commit 163b7a4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ android {
keyPassword System.env.OC_RELEASE_KEY_PASSWORD
}
}
beta {
if (System.env.OC_BETA_KEYSTORE) {
storeFile file(System.env.OC_BETA_KEYSTORE) // use an absolute path
storePassword System.env.OC_BETA_KEYSTORE_PASSWORD
keyAlias System.env.OC_BETA_KEY_ALIAS
keyPassword System.env.OC_BETA_KEY_PASSWORD
}
}
}

buildTypes {
Expand All @@ -190,10 +198,12 @@ android {

manifestPlaceholders.versionCode = "20400001"
manifestPlaceholders.versionName = "2.5.0-beta.2"

applicationIdSuffix ".beta"
}

if (System.env.OC_BETA_KEYSTORE) {
signingConfig signingConfigs.beta
}
}
}

applicationVariants.all { variant ->
Expand Down

0 comments on commit 163b7a4

Please sign in to comment.