Skip to content

Commit 67ce0ae

Browse files
committed
Make travis RC check allow RC and rc
1 parent 3e4e6ce commit 67ce0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_js:
55
jobs:
66
include:
77
- stage: NPM RC Release
8-
if: tag == *-RC*
8+
if: tag =~ /-(rc|RC)/
99
node_js: "14.16"
1010
script: echo "Deploying RC to NPM..."
1111
deploy:
@@ -14,7 +14,7 @@ jobs:
1414
api_key: $NPM_API_KEY
1515
tag: next
1616
- stage: NPM Release
17-
if: tag != *-RC*
17+
if: not tag =~ /-(rc|RC)/
1818
node_js: "14.16"
1919
script: echo "Deploying to NPM..."
2020
deploy:

0 commit comments

Comments
 (0)