From aa77eb6c30468c30d03c6a1cbb32c1c457db5bbe Mon Sep 17 00:00:00 2001 From: Kamran Ayub Date: Sat, 12 Aug 2017 14:57:23 -0500 Subject: [PATCH] Update dist condition (#870) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3cd115fd1..9e8bf2d09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ script: - node_modules/.bin/grunt travis after_success: - node deploy-docs.js -- if [ "$TRAVIS_BRANCH" = "master" ]; then node_modules/.bin/grunt dists; fi +- if [[ "$TRAVIS_BRANCH" = "master" || "$TRAVIS_TAG" != "" ]]; then node_modules/.bin/grunt dists; fi notifications: slack: secure: aQXFk2/MxX5eR2JM90xWAA9YX03QArY1ejUmnP/NkFHbB4zzKZblACjEeDTDTDCThZpXhrganX2nDWrWFrrXbOG28wKrRhEZSULPAgyiWGpfkMoT44fKmgh+eZ5C/isMF2eeQCrYo3EQCMxfCKxNaBhyLc+jr/Sm232zU2LaXo8=