From 3c6aca252afe127950529c2276793ae8249588a9 Mon Sep 17 00:00:00 2001 From: shyamz-22 Date: Sun, 17 Dec 2017 13:18:25 +0100 Subject: [PATCH] after every successful build publish a snapshot release try three :rocket: --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3bbe420..fc3db82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,11 @@ before_script: -out $DEPLOY_DIR/secring.gpg -d script: - "./gradlew clean build -PSONATYPE_USERNAME=${SONATYPE_USERNAME} -PSONATYPE_PASSWORD=${SONATYPE_PASSWORD}" -after_success: -- "./publish/publish-patch.sh" +deploy: + provider: script + script: "./publish/publish-patch.sh" + on: + branch: master env: global: - DEPLOY_DIR="`pwd`/publish"