Skip to content

Commit 2010c81

Browse files
committed
travis: upload JARs and deploy from UPLOAD builds only
1 parent 4c8cd56 commit 2010c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ matrix:
3636
- ./gradlew -PbuildNativeProjects=true jme3-android-native:assemble jme3-bullet-native-android:assemble
3737
after_success:
3838
- '[ "$TRAVIS_PULL_REQUEST" == "false" ] && ./private/upload_native.sh || :'
39-
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :'
4039

4140
addons:
4241
ssh_known_hosts: github.com
@@ -89,6 +88,7 @@ deploy:
8988
file: "${RELEASE_DIST}"
9089
skip_cleanup: true
9190
on:
91+
condition: $UPLOAD = true
9292
repo: jMonkeyEngine/jmonkeyengine
9393
tags: true
9494

0 commit comments

Comments
 (0)