Skip to content

Commit c5254d7

Browse files
authored
Fix condition for deploying to NPM
1 parent 324d9c2 commit c5254d7

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
@@ -17,7 +17,7 @@ jobs:
1717
api_key: $NPM_API_KEY
1818
tag: next
1919
- stage: NPM Release
20-
if: tag =~ /-(rc|RC)/
20+
if: not tag =~ /-(rc|RC)/
2121
node_js: "14.16"
2222
script:
2323
- npm install
@@ -29,4 +29,4 @@ jobs:
2929
api_key: $NPM_API_KEY
3030
skip_cleanup: true
3131
on:
32-
tags: true
32+
tags: true

0 commit comments

Comments
 (0)