Skip to content

Commit 2ff1494

Browse files
committed
Tweak version # regex and name
1 parent 6d884c1 commit 2ff1494

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ jobs:
1818
env:
1919
- TRAVIS_NODE_VERSION="8"
2020
- SKIP_DEPLOY=0
21-
if: tag =~ /^v\d+\.\d+\.\d+.*$/ OR branch = master OR type = pull_request
21+
if: tag =~ /\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
2222
- name: "OSX - Node 8"
2323
os: osx
2424
env:
2525
- TRAVIS_NODE_VERSION="8"
2626
- SKIP_DEPLOY=0
27-
if: tag =~ /^v\d+\.\d+\.\d+.*$/ OR branch = master OR type = pull_request
27+
if: tag =~ /\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
2828
- name: "Linux - Node 10"
2929
os: linux
3030
env:
3131
- TRAVIS_NODE_VERSION="10"
3232
- SKIP_DEPLOY=0
33-
if: tag =~ /^v\d+\.\d+\.\d+.*$/ OR branch = master OR type = pull_request
33+
if: tag =~ /\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
3434
- name: "OSX - Node 10"
3535
os: osx
3636
env:
3737
- TRAVIS_NODE_VERSION="10"
3838
- SKIP_DEPLOY=0
39-
if: tag =~ /^v\d+\.\d+\.\d+.*$/ OR branch = master OR type = pull_request
39+
if: tag =~ /\d+\.\d+\.\d+/ OR branch = master OR type = pull_request
4040

4141
# Publish to npm only on release tag
4242
- stage: publish
@@ -93,4 +93,4 @@ deploy:
9393
on:
9494
tags: true
9595
condition: $SKIP_DEPLOY = 0
96-
name: $TRAVIS_TAG
96+
name: Version $TRAVIS_TAG

0 commit comments

Comments
 (0)