Skip to content

Commit

Permalink
after every successful build publish a snapshot release try three 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamz-22 committed Dec 17, 2017
1 parent 6bb57d9 commit 3c6aca2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3c6aca2

Please sign in to comment.