From aec86f98982ca9b81b5a1ddfe3158a0b10212172 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 16 Apr 2015 00:36:08 -0400 Subject: [PATCH] No, I do actually want to only release on a tag --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4f25709..1b9fd96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,8 @@ before_install: script: - ./gradlew test --stacktrace after_success: -- ./gradlew jacocoTestReport coveralls publishRelease +- ./gradlew jacocoTestReport coveralls +- if [ $TRAVIS_TAG ]; + then echo "Publishing to Play store..."; + ./gradlew publishRelease; + fi