build module + bundle only on tags: now working

This commit is contained in:
Roman Hotsiy 2016-11-02 12:27:02 +02:00
parent ee1c6a934f
commit 9e661c4a7d
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -32,7 +32,7 @@ before_script:
after_script:
- kill %1 # kill e2e server
before_deploy:
- if [[ -z "$TRAVIS_TAG" ]]; then npm run build:prod-module; fi
- if [[ ! -z "$TRAVIS_TAG" ]]; then npm run build:prod-module; fi
deploy:
- provider: npm
skip_cleanup: true