File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1414 chmod 600 $HOME /.netrc
1515}
1616
17- if [ " ${TRAVIS_PULL_REQUEST} " = " false" ] && [ " ${TRAVIS_BRANCH} " = " master" ] && [ " ${RELEASE} " = " true" ]; then
18- echo " Deploying release to Bintray"
17+ if [ " ${TRAVIS_PULL_REQUEST} " = " false" ] && [ " ${TRAVIS_BRANCH} " = " master" ]; then
1918 saveGitCredentials
2019 git checkout -f ${TRAVIS_BRANCH}
21- ./gradlew clean assemble release -Prelease.useAutomaticVersion=true && ./gradlew check --info
20+ if [ " ${RELEASE} " = " true" ]; then
21+ echo " Deploying release to Bintray"
22+ ./gradlew clean assemble release -Prelease.useAutomaticVersion=true && ./gradlew check --info
23+ elif
24+ echo " Deploying snapshot to Bintray"
25+ ./gradlew clean assemble bintrayPublish && ./gradlew check --info
26+ fi
2227fi
You can’t perform that action at this time.
0 commit comments