瀏覽代碼

travis: upload JARs and deploy from UPLOAD builds only

Stephen Gold 6 年之前
父節點
當前提交
2010c819cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -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
@@ -89,6 +88,7 @@ deploy:
   file: "${RELEASE_DIST}"
   skip_cleanup: true
   on:
+    condition: $UPLOAD = true
     repo: jMonkeyEngine/jmonkeyengine
     tags: true