Skip to content

Commit 1c1ce82

Browse files
committed
Update release conditions
1 parent 260f61c commit 1c1ce82

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ deploy:
2727
prerelease: false
2828
skip_cleanup: true
2929
on:
30-
condition: $NPM_TAG=latest
31-
tags: true
30+
condition: "$TRAVIS_TAG" != "" && $NPM_TAG=latest
3231
- provider: releases
3332
api_key: "$GITHUB_TOKEN"
3433
file_glob: true
3534
file: build/*.zip
3635
prerelease: true
3736
skip_cleanup: true
3837
on:
39-
condition: $NPM_TAG=next
40-
tags: true
38+
condition: "$TRAVIS_TAG" != "" && $NPM_TAG=next

0 commit comments

Comments
 (0)