We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f9277 commit eda5ac6Copy full SHA for eda5ac6
.travis.yml
@@ -19,7 +19,8 @@ deploy:
19
tag: "$NPM_TAG"
20
skip_cleanup: true
21
on:
22
- tags: true
+ all_branches: true
23
+ condition: '"$TRAVIS_TAG" =~ "^v[0-9]"'
24
- provider: releases
25
api_key: "$GITHUB_TOKEN"
26
file_glob: true
@@ -28,7 +29,7 @@ deploy:
28
29
30
31
all_branches: true
- condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = next'
32
+ condition: '"$TRAVIS_TAG" =~ "^v[0-9]" && $NPM_TAG = next'
33
34
35
@@ -37,4 +38,4 @@ deploy:
37
38
39
40
- condition: '"$TRAVIS_TAG" != "" && $NPM_TAG = latest'
41
+ condition: '"$TRAVIS_TAG" =~ "^v[0-9]" && $NPM_TAG = latest'
0 commit comments