Skip to content

Commit

Permalink
Merge branch 'release/0.4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Hoth committed Apr 1, 2014
2 parents f626903 + 2b9a602 commit ac3ba53
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a

cache: apt
branches:
only:
- master

before_install:
# Install base Android SDK
- sudo apt-get update -qq
Expand Down
37 changes: 18 additions & 19 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 19
versionCode 6
versionName "0.4.2"
versionCode 7
versionName "0.4.3"
}

compileOptions {
Expand Down Expand Up @@ -73,29 +73,28 @@ dependencies {
if (secretProps.containsKey("DEPLOYGATE_USERNAME") && secretProps.containsKey("DEPLOYGATE_TOKEN")) {

apply plugin: 'deploygate'
gradle.taskGraph.whenReady { graph ->

project.configure(deploygate, {
userName = secretProps.getProperty("DEPLOYGATE_USERNAME")
token = secretProps.getProperty("DEPLOYGATE_TOKEN")
project.configure(deploygate, {
userName = secretProps.getProperty("DEPLOYGATE_USERNAME")
token = secretProps.getProperty("DEPLOYGATE_TOKEN")

apks {
beta {
sourceFile = file("build/apk/app-beta-unaligned.apk")
apks {
beta {
sourceFile = file("build/apk/app-beta-unaligned.apk")

def betaComment = secretProps.getProperty("DEPLOYGATE_RELEASE_NOTES")
if (betaComment != null && betaComment.length() > 0) {
releaseNote = betaComment
message = betaComment
}
def betaComment = secretProps.getProperty("DEPLOYGATE_RELEASE_NOTES")
if (betaComment != null && betaComment.length() > 0) {
releaseNote = betaComment
message = betaComment
}

if (secretProps.hasProperty("DEPLOYGATE_DISTRIBUTION_ID")) {
distributionKey = secretProps.getProperty("DEPLOYGATE_DISTRIBUTION_ID")
}
if (secretProps.hasProperty("DEPLOYGATE_DISTRIBUTION_ID")) {
distributionKey = secretProps.getProperty("DEPLOYGATE_DISTRIBUTION_ID")
}
}
})
}
}
})

}

def getReleaseNotes(flavor) {
Expand Down

0 comments on commit ac3ba53

Please sign in to comment.