Skip to content

Commit

Permalink
travis: upload JARs and deploy from UPLOAD builds only
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 21, 2019
1 parent 4c8cd56 commit 2010c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ matrix:
- ./gradlew -PbuildNativeProjects=true jme3-android-native:assemble jme3-bullet-native-android:assemble
after_success:
- '[ "$TRAVIS_PULL_REQUEST" == "false" ] && ./private/upload_native.sh || :'
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew bintrayUpload || :'

addons:
ssh_known_hosts: github.com
Expand Down Expand Up @@ -89,6 +88,7 @@ deploy:
file: "${RELEASE_DIST}"
skip_cleanup: true
on:
condition: $UPLOAD = true
repo: jMonkeyEngine/jmonkeyengine
tags: true

Expand Down

0 comments on commit 2010c81

Please sign in to comment.