diff --git a/.travis.yml b/.travis.yml index d3c8917d..cb6ccacf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,9 +33,10 @@ install: - yarn after_success: - - if [[ "$TRAVIS_BRANCH" == "canary" ]]; then cp build/canary.icns build/icon.icns; fi + - (git branch --contains $TRAVIS_COMMIT | grep canary > /dev/null || [[ "$TRAVIS_BRANCH" == "canary" ]] ) && (cd build; cp canary.icns icon.icns; cp canary.ico icon.ico) - yarn run dist branches: except: - "/^v\\d+\\.\\d+\\.\\d+$/" +