Skip to content

Instantly share code, notes, and snippets.

@justinvdm
Created September 30, 2016 17:04
Show Gist options
  • Save justinvdm/aa8ffdc341df17a95704afc16c9b8718 to your computer and use it in GitHub Desktop.
Save justinvdm/aa8ffdc341df17a95704afc16c9b8718 to your computer and use it in GitHub Desktop.
diff --git a/.travis.yml b/.travis.yml
index 219c44f..b098656 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ android:
- addon-google_apis-google-16
script:
- npm run ci
-- cd android && ./gradlew assembleRelease -PdisablePreDex
+- '[ -z "$TRAVIS_TAG" ] || cd android && ./gradlew assembleRelease -PdisablePreDex'
deploy:
skip_cleanup: true
provider: releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment