Skip to content

Commit d37ab5b

Browse files
committed
Fix regexes
1 parent 92c46c3 commit d37ab5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ deploy:
2020
skip_cleanup: true
2121
on:
2222
all_branches: true
23-
condition: '"$TRAVIS_TAG" =~ "^v[0-9]"'
23+
condition: '"$TRAVIS_TAG" =~ ^v[0-9]'
2424
- provider: releases
2525
api_key: "$GITHUB_TOKEN"
2626
file_glob: true
@@ -29,7 +29,7 @@ deploy:
2929
skip_cleanup: true
3030
on:
3131
all_branches: true
32-
condition: '"$TRAVIS_TAG" =~ "^v[0-9]" && $NPM_TAG = next'
32+
condition: '"$TRAVIS_TAG" =~ ^v[0-9] && $NPM_TAG = next'
3333
- provider: releases
3434
api_key: "$GITHUB_TOKEN"
3535
file_glob: true
@@ -38,4 +38,4 @@ deploy:
3838
skip_cleanup: true
3939
on:
4040
all_branches: true
41-
condition: '"$TRAVIS_TAG" =~ "^v[0-9]" && $NPM_TAG = latest'
41+
condition: '"$TRAVIS_TAG" =~ ^v[0-9] && $NPM_TAG = latest'

0 commit comments

Comments
 (0)